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
feat: show error if automatic token refresh fails
thecodrrf05735fc9e91
diff --git a/apps/web/src/components/dialogs/sessionexpireddialog.js b/apps/web/src/components/dialogs/sessionexpireddialog.jsindex 989276f34..e597fc574 100644--- a/apps/web/src/components/dialogs/sessionexpireddialog.js+++ b/apps/web/src/components/dialogs/sessionexpireddialog.js@@ -37,6 +37,7 @@ function SessionExpiredDialog(props) {const token = await db.user.tokenManager.getToken();if (token) onClose(true);} catch (e) {+ setError(`Could not refresh access_token. Error: ${e.message}`);} finally {setIsLoading(false);}