import PaymentForm from "@/components/payments/payment-form";
import getData from "@/utils/fetch";

export default async function Payment({ params }: any) {
  const { Id } = params;
  const url = `/api/v1/clients/${Id}`;
  const { data: client } = await getData(url);
  return (
    <>
      <div className="overflow-hidden">
        <PaymentForm client={client} />
      </div>
    </>
  );
}
