UI notification/alert system with global redux state

This commit is contained in:
unknown
2021-05-24 14:54:46 +02:00
parent c145888aec
commit 4eaf9659d1
17 changed files with 279 additions and 10 deletions

View File

@@ -12,6 +12,8 @@ import Apps from './components/Apps/Apps';
import Settings from './components/Settings/Settings';
import Bookmarks from './components/Bookmarks/Bookmarks';
import NotificationCenter from './components/NotificationCenter/NotificationCenter';
if (localStorage.theme) {
store.dispatch<any>(setTheme(localStorage.theme));
}
@@ -27,6 +29,7 @@ const App = (): JSX.Element => {
<Route path='/bookmarks' component={Bookmarks} />
</Switch>
</BrowserRouter>
<NotificationCenter />
</Provider>
);
}