From 0bdf6b50a9807b74040679cda3f8723169ab4159 Mon Sep 17 00:00:00 2001 From: JuanSaavedra Date: Sat, 24 Aug 2024 08:45:26 -0400 Subject: [PATCH] OV-3: * lint and prettier --- .../user-sign-up.validation-schema.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/shared/src/bundles/users/validation-schemas/user-sign-up.validation-schema.ts b/shared/src/bundles/users/validation-schemas/user-sign-up.validation-schema.ts index 92ffb5c3b..ad8a1f586 100644 --- a/shared/src/bundles/users/validation-schemas/user-sign-up.validation-schema.ts +++ b/shared/src/bundles/users/validation-schemas/user-sign-up.validation-schema.ts @@ -50,12 +50,9 @@ const userSignUp = z message: UserValidationMessage.PASS_DONT_MATCH, path: ['confirmPassword'], }) - .refine( - (data) => data.name.split(/\s+/).length >= 2, - { - message: UserValidationMessage.FULL_NAME_INVALID, - path: ['name'], - } - ); + .refine((data) => data.name.split(/\s+/).length >= 2, { + message: UserValidationMessage.FULL_NAME_INVALID, + path: ['name'], + }); export { userSignUp };