Skip to content

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

fix: crash on report dialog open (fixes streetwriters/notesnook#211)

thecodrr73d9325e61cb
diff --git a/apps/web/src/components/dialogs/issuedialog.js b/apps/web/src/components/dialogs/issuedialog.js
index 3278d283a..61e67c6c4 100644
--- a/apps/web/src/components/dialogs/issuedialog.js
+++ b/apps/web/src/components/dialogs/issuedialog.js
@@ -23,11 +23,11 @@ This is all optional, of course.`,
};
function getDeviceInfo() {
- const appVersion = appVersion.formatted;
+ const version = appVersion.formatted;
const os = platform.os;
const browser = `${platform.name} ${platform.version}`;
- return `App version: ${appVersion}
+ return `App version: ${version}
OS: ${os}
Browser: ${browser}
Pro: ${isUserPremium()}`;