mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 05:13:43 +00:00
fix: fix lint errors
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user