🎨 Format Utils (#1173)

This commit is contained in:
Alejandra
2024-04-15 16:34:50 -05:00
committed by GitHub
parent 6e0674236b
commit 314da98a45

View File

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