'use client';

import { useParams } from 'next/navigation';
import { VendorLedgerDetail } from '@/components/accounting/VendorLedger/VendorLedgerDetail';

export default function VendorLedgerDetailPage() {
  const params = useParams();
  const vendorId = params.id as string;

  return <VendorLedgerDetail vendorId={vendorId} />;
}
