From 611116b70cb3d8116f2971122e6e5186b9906b04 Mon Sep 17 00:00:00 2001 From: "pramod.mahajan" Date: Tue, 4 Nov 2025 15:34:28 +0530 Subject: [PATCH] chanaged paramter name of payementRequestSchema --- src/components/PaymentRequest/ManagePaymentRequest.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PaymentRequest/ManagePaymentRequest.jsx b/src/components/PaymentRequest/ManagePaymentRequest.jsx index 68b98d27..531468f4 100644 --- a/src/components/PaymentRequest/ManagePaymentRequest.jsx +++ b/src/components/PaymentRequest/ManagePaymentRequest.jsx @@ -30,7 +30,7 @@ function ManagePaymentRequest({ closeModal, requestToEdit = null }) { const { profile } = useProfile(); - const schema = PaymentRequestSchema(ExpenseTypes); + const schema = PaymentRequestSchema(ExpenseCategories); const { register, control, watch, handleSubmit, setValue, reset, formState: { errors }, } = useForm({ resolver: zodResolver(schema), defaultValues: defaultPaymentRequest,