diff --git a/apps/dashboard/src/utils/validation-schema.ts b/apps/dashboard/src/utils/validation-schema.ts index 74f73253..a41f8684 100644 --- a/apps/dashboard/src/utils/validation-schema.ts +++ b/apps/dashboard/src/utils/validation-schema.ts @@ -59,7 +59,7 @@ export const updateUserDetailsObject = yup.object({ firstName: yup.string().required(), lastName: yup.string(), email: yup.string().email(), - nickname: yup.string(), + nickname: yup.string().nullable(), userType: yup.number().required(), isActive: yup.boolean().required().default(true), ofAge: yup.boolean().required().default(false),