import { redirect } from 'next/navigation';

type Props = {
  params: Promise<{ id: string }>;
};

export default async function EditSupplierPaymentPage({ params }: Props) {
  const { id } = await params;
  redirect(`/admin/purchases/payment?editId=${encodeURIComponent(id)}`);
}
