Skip to content

Commit

Permalink
OV-3: * lint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JPjok3r committed Aug 24, 2024
1 parent 59e9a0a commit 0bdf6b5
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

0 comments on commit 0bdf6b5

Please sign in to comment.