Browse Source

🎨 Format Utils (#1173)

pull/13907/head
Alejandra 1 year ago
committed by GitHub
parent
commit
314da98a45
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      frontend/src/utils.ts

6
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) {

Loading…
Cancel
Save