Skip to content

Commit 1977c48

Browse files
fix: reset prevEncryptionFailure on submit (#6683)
1 parent d9a852c commit 1977c48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/views/E2EEnterYourPasswordView.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ const E2EEnterYourPasswordView = (): React.ReactElement => {
8787
}, [encryptionFailure, prevEncryptionFailure]);
8888

8989
const submit = () => {
90+
prevEncryptionFailure.current = false;
9091
logEvent(events.E2E_ENTER_PW_SUBMIT);
9192
dispatch(encryptionDecodeKey(password));
9293
};

0 commit comments

Comments
 (0)