Skip to content

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

fix await

ammarahm-ed41354fdf7cd3
diff --git a/apps/mobile/App.js b/apps/mobile/App.js
index 8f6c6e99e..07a885ebd 100644
--- a/apps/mobile/App.js
+++ b/apps/mobile/App.js
@@ -40,7 +40,7 @@ const App = () => {
DDS.isTab ? Orientation.lockToLandscape() : Orientation.lockToPortrait();
}, []);
- const startSyncer = () => {
+ const startSyncer = async () => {
let user = await db.user.get();
if (user) {
db.ev.subscribe('sync',async () => {