Skip to content

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

remove unecessary event

ammarahm-ede92dee8ae615
diff --git a/apps/mobile/src/components/LoginDialog/index.js b/apps/mobile/src/components/LoginDialog/index.js
index 73dc980be..9eb33976d 100644
--- a/apps/mobile/src/components/LoginDialog/index.js
+++ b/apps/mobile/src/components/LoginDialog/index.js
@@ -191,7 +191,6 @@ const LoginDialog = () => {
dispatch({type: Actions.USER, user: user});
await db.sync();
dispatch({type: Actions.LAST_SYNC, lastSync: await db.lastSynced()});
- eSendEvent(eStartSyncer);
dispatch({type: Actions.ALL});
eSendEvent(refreshNotesPage);
clearMessage(dispatch);
@@ -256,7 +255,6 @@ const LoginDialog = () => {
setStatus('Setting up crenditials');
dispatch({type: Actions.USER, user: user});
dispatch({type: Actions.LAST_SYNC, lastSync: await db.lastSynced()});
- eSendEvent(eStartSyncer);
clearMessage(dispatch);
setEmailVerifyMessage(dispatch);
close();