From b19d5c60b7fcf09f31685d6124ac8d5ee8da0afa Mon Sep 17 00:00:00 2001 From: Alexandre Monjol Date: Thu, 5 Sep 2024 15:24:32 +0200 Subject: [PATCH] misc: customer name should not be mandatory as on BE --- src/components/customers/addDrawer/AddCustomerDrawer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/customers/addDrawer/AddCustomerDrawer.tsx b/src/components/customers/addDrawer/AddCustomerDrawer.tsx index b10f1f5dc..095317f4e 100644 --- a/src/components/customers/addDrawer/AddCustomerDrawer.tsx +++ b/src/components/customers/addDrawer/AddCustomerDrawer.tsx @@ -112,7 +112,7 @@ export const AddCustomerDrawer = forwardRef((_, ref) => { metadata: customer?.metadata ?? undefined, }, validationSchema: object().shape({ - name: string().required(''), + name: string(), email: string().email('text_620bc4d4269a55014d493fc3'), externalId: string().required(''), metadata: metadataSchema(),