Skip to content

Commit

Permalink
misc: customer name should not be mandatory as on BE (#1716)
Browse files Browse the repository at this point in the history
  • Loading branch information
ansmonjol authored Sep 5, 2024
1 parent c589e3e commit 599cffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/customers/addDrawer/AddCustomerDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const AddCustomerDrawer = forwardRef<AddCustomerDrawerRef>((_, ref) => {
metadata: customer?.metadata ?? undefined,
},
validationSchema: object().shape({
name: string().required(''),
name: string(),
email: string().email('text_620bc4d4269a55014d493fc3'),
externalId: string().required(''),
metadata: metadataSchema(),
Expand Down

0 comments on commit 599cffe

Please sign in to comment.