added
This commit is contained in:
parent
bce69783f7
commit
bede21aff2
@ -27,15 +27,10 @@ function ManagePaymentRequest({ closeModal, requestToEdit = null }) {
|
|||||||
loading: ExpenseLoading,
|
loading: ExpenseLoading,
|
||||||
error: ExpenseError,
|
error: ExpenseError,
|
||||||
} = useExpenseCategory();
|
} = useExpenseCategory();
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
const { profile } = useProfile();
|
const { profile } = useProfile();
|
||||||
|
|
||||||
const schema = PaymentRequestSchema(ExpenseTypes);
|
const schema = PaymentRequestSchema(ExpenseTypes);
|
||||||
=======
|
|
||||||
|
|
||||||
const schema = PaymentRequestSchema(ExpenseCategories);
|
|
||||||
>>>>>>> 616b986deb72f0ce67df8c82beb16f2703acc11a
|
|
||||||
const { register, control, watch, handleSubmit, setValue, reset, formState: { errors }, } = useForm({
|
const { register, control, watch, handleSubmit, setValue, reset, formState: { errors }, } = useForm({
|
||||||
resolver: zodResolver(schema),
|
resolver: zodResolver(schema),
|
||||||
defaultValues: defaultPaymentRequest,
|
defaultValues: defaultPaymentRequest,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user