diff options
author | Sascha <GlancingMind@outlook.com> | 2021-02-23 16:03:07 +0100 |
---|---|---|
committer | Sascha <GlancingMind@outlook.com> | 2021-03-04 20:53:27 +0100 |
commit | 8c17d730eff3bb59313a2f9f7aa469fe6fff95b2 (patch) | |
tree | d03ca941c588fe1719298c41853b4552012e1ab8 /webui/src/index.tsx | |
parent | 87bc42fb4695872b82cfa9a922d423df7ff21132 (diff) | |
download | git-bug-8c17d730eff3bb59313a2f9f7aa469fe6fff95b2.tar.gz |
Add button to toggle between light- and dark-mode
Diffstat (limited to 'webui/src/index.tsx')
-rw-r--r-- | webui/src/index.tsx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/webui/src/index.tsx b/webui/src/index.tsx index f07b869d..a7f52448 100644 --- a/webui/src/index.tsx +++ b/webui/src/index.tsx @@ -1,21 +1,13 @@ import { ApolloProvider } from '@apollo/client'; import React from 'react'; import ReactDOM from 'react-dom'; -import { BrowserRouter } from 'react-router-dom'; - -import ThemeProvider from '@material-ui/styles/ThemeProvider'; import App from './App'; import apolloClient from './apollo'; -import theme from './theme'; ReactDOM.render( <ApolloProvider client={apolloClient}> - <BrowserRouter> - <ThemeProvider theme={theme}> - <App /> - </ThemeProvider> - </BrowserRouter> + <App /> </ApolloProvider>, document.getElementById('root') ); |