Skip to content

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

web: fix attachment not marked as uploaded when app locked & unlocked (#9306)

01zulfi50b01e0b1b19
diff --git a/apps/web/src/root.tsx b/apps/web/src/root.tsx
index 5de2050da..a1b7a33a4 100644
--- a/apps/web/src/root.tsx
+++ b/apps/web/src/root.tsx
@@ -105,9 +105,6 @@ function RouteWrapper(props: {
setIsMigrating(name === "notesnook")
);
EV.subscribe(EVENTS.migrationFinished, () => setIsMigrating(false));
- return () => {
- EV.unsubscribeAll();
- };
}, []);
const result = usePromise(async () => {