Fix lint errors

This commit is contained in:
Tuan Dang
2023-06-07 22:47:47 +01:00
parent 4d6ae0eef8
commit 78493d9521
3 changed files with 7 additions and 12 deletions
@@ -35,7 +35,7 @@ const checkPassword = ({
commonPasswords,
setErrors
}: CheckPasswordParams): boolean => {
let errors: Errors = {};
const errors: Errors = {};
if (password.length < 8) {
errors.length = "8 characters";