diff --git a/src/modules/auth/passwd/ResetPwdScreen.js b/src/modules/auth/passwd/ResetPwdScreen.js index 979344f..7e4d6c1 100644 --- a/src/modules/auth/passwd/ResetPwdScreen.js +++ b/src/modules/auth/passwd/ResetPwdScreen.js @@ -40,8 +40,8 @@ function ResetPwdCard(props) { const { handleSubmit, register, getValues, watch, formState: { errors, isSubmitting } } = useForm(); generatePenrose(); - - let history = useHistory(); + + const history = useHistory(); const [ completed, setCompleted ] = useState(false); const [ passwordCriteria, setPasswordCriteria ] = useState({