'use client';

import { use } from 'react';
import CardTransactionDetailClient from '@/components/accounting/CardTransactionInquiry/CardTransactionDetailClient';

interface PageProps {
  params: Promise<{ id: string }>;
}

export default function CardTransactionEditPage({ params }: PageProps) {
  const { id } = use(params);
  return <CardTransactionDetailClient transactionId={id} initialMode="edit" />;
}
