Skip to content

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

show toast error on fetch

ammarahm-edacd25a4f685a
diff --git a/apps/mobile/src/utils/hooks/useAppEvents.js b/apps/mobile/src/utils/hooks/useAppEvents.js
index 947a85d9c..548c5051d 100644
--- a/apps/mobile/src/utils/hooks/useAppEvents.js
+++ b/apps/mobile/src/utils/hooks/useAppEvents.js
@@ -327,7 +327,9 @@ export const useAppEvents = () => {
userEmailConfirmed: true
});
}
- } catch (e) {}
+ } catch (e) {
+ ToastEvent.error(e, 'An error occured', 'global');
+ }
user = await db.user.getUser();
if (