'use client';

import { useSearchParams } from 'next/navigation';
import { ReceivablesStatus } from '@/components/accounting/ReceivablesStatus';

export default function ReceivablesStatusPage() {
  const searchParams = useSearchParams();
  const highlightVendorId = searchParams.get('highlight') || undefined;

  return <ReceivablesStatus highlightVendorId={highlightVendorId} />;
}