Skip to content

Commit

Permalink
OV-3: * lint format
Browse files Browse the repository at this point in the history
  • Loading branch information
JPjok3r committed Aug 22, 2024
1 parent 58895f3 commit 375b4f0
Showing 1 changed file with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@ const userSignUp = z
fullName: z
.string({ required_error: UserValidationMessage.FIELD_REQUIRE })
.trim()
.refine(
(value) =>
value.split(/\s+/).length >= 2,
{
message: 'Full name should have a minimum of two words.',
},
),
.refine((value) => value.split(/\s+/).length >= 2, {
message: 'Full name should have a minimum of two words.',
}),
email: z
.string({ required_error: UserValidationMessage.FIELD_REQUIRE })
.trim()
Expand Down

0 comments on commit 375b4f0

Please sign in to comment.