Fix pruning bug in web app (closes #186), release notes, remove local storage migration

This commit is contained in:
Philipp Heckel 2022-03-27 09:20:25 -04:00
parent d4fe2052c7
commit 182e21a9c3
5 changed files with 12 additions and 29 deletions

View file

@ -17,7 +17,7 @@ import {BrowserRouter, Outlet, Route, Routes, useOutletContext, useParams} from
import {expandUrl} from "../app/utils";
import ErrorBoundary from "./ErrorBoundary";
import routes from "./routes";
import {useAutoSubscribe, useConnectionListeners, useLocalStorageMigration} from "./hooks";
import {useAutoSubscribe, useConnectionListeners, useBackgroundProcesses} from "./hooks";
// TODO add drag and drop
// TODO races when two tabs are open
@ -67,7 +67,7 @@ const Layout = () => {
});
useConnectionListeners(subscriptions, users);
useLocalStorageMigration();
useBackgroundProcesses();
useEffect(() => updateTitle(newNotificationsCount), [newNotificationsCount]);
return (