A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
fix: crash on account deletion
thecodrra288d918cb2b
diff --git a/apps/web/src/components/dialogs/password-dialog.js b/apps/web/src/components/dialogs/password-dialog.jsindex af3b65412..ed868b662 100644--- a/apps/web/src/components/dialogs/password-dialog.js+++ b/apps/web/src/components/dialogs/password-dialog.js@@ -132,6 +132,17 @@ function getDialogData(type) {"All your data will be re-encrypted and synced with the new password.",positiveButtonText: "Change password",};+ case "delete_account":+ return {+ title: "Delete your account",+ subtitle: (+ <Text as="span" color="error">+ All your data will be permanently deleted with{" "}+ <b>no way of recovery</b>. Proceed with caution.+ </Text>+ ),+ positiveButtonText: "Delete Account",+ };default:return;}