From e1fac3d353bf9d54c97cf23bad2ff9c1fa4561c9 Mon Sep 17 00:00:00 2001 From: CodeNamedRobin Date: Mon, 26 Aug 2024 19:02:50 +0200 Subject: [PATCH] fix(dashboard/invoices): fixed attention being required by the frontend in create invoice form --- apps/dashboard/src/utils/validation-schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/utils/validation-schema.ts b/apps/dashboard/src/utils/validation-schema.ts index ca12d33f..12445438 100644 --- a/apps/dashboard/src/utils/validation-schema.ts +++ b/apps/dashboard/src/utils/validation-schema.ts @@ -112,5 +112,5 @@ export const createInvoiceSchema = postalCode: yup.string().required(), city: yup.string().required(), country: yup.string().required(), - attention: yup.string().required(), + attention: yup.string(), });