Skip to content

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

web: do not show sync abort errors to user

Abdullah Atta63cf160cea0a
diff --git a/apps/web/src/stores/app-store.js b/apps/web/src/stores/app-store.js
index ad0ba8b74..4a6c5be95 100644
--- a/apps/web/src/stores/app-store.js
+++ b/apps/web/src/stores/app-store.js
@@ -104,8 +104,7 @@ class AppStore extends BaseStore {
}
);
- db.eventManager.subscribe(EVENTS.syncAborted, (error) => {
- if (error) showToast("error", error);
+ db.eventManager.subscribe(EVENTS.syncAborted, () => {
this.updateSyncStatus("failed");
});