Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: crash when cancelling sign up dialog

thecodrr1ba39a62755b
diff --git a/apps/web/src/components/dialogs/signupdialog.js b/apps/web/src/components/dialogs/signupdialog.js
index 16815b669..156f98efa 100644
--- a/apps/web/src/components/dialogs/signupdialog.js
+++ b/apps/web/src/components/dialogs/signupdialog.js
@@ -101,7 +101,7 @@ export function showSignUpDialog() {
<SignUpDialog
onClose={async (res) => {
perform(res);
- if (res) await showRecoveryKeyDialog();
+ if (res === true) await showRecoveryKeyDialog();
}}
/>
));