fix: fix lint errors

This commit is contained in:
lemmyMwaura
2024-08-07 23:26:24 +03:00
parent 9061ec2dff
commit 069651bdb4
4 changed files with 48 additions and 39 deletions
@@ -42,11 +42,11 @@ export const PasswordContainer = ({ secretId, hashedHex, handleSecret }: Props)
if (secret) {
handleSecret(secret);
} else {
reset({ password: "" });
createNotification({
text: "Password is Invalid. Try again",
type: "error"
})
reset();
}
} catch (error) {
console.error("Failed to validate password:", error);