From 314da98a455d159d168b5374a4d75b506e2782ba Mon Sep 17 00:00:00 2001 From: Alejandra <90076947+alejsdev@users.noreply.github.com> Date: Mon, 15 Apr 2024 16:34:50 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Format=20Utils=20(#1173)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/utils.ts b/frontend/src/utils.ts index 0768f5e..7fb3775 100644 --- a/frontend/src/utils.ts +++ b/frontend/src/utils.ts @@ -29,9 +29,9 @@ export const confirmPasswordRules = ( ) => { const rules: any = { validate: (value: string) => { - const password = getValues().password || getValues().new_password; - return value === password ? true : "The passwords do not match"; - } + const password = getValues().password || getValues().new_password + return value === password ? true : "The passwords do not match" + }, } if (isRequired) {