aboutsummaryrefslogblamecommitdiffstats
path: root/webui/src/index.tsx
blob: d203eb199b704774ad4cfe6ed77a99e847e2ebb2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                
                                 
                                                 
 

                                    

                                                                     

                
                                        




                                                                          
                    
                                 
  
import { ApolloProvider } from '@apollo/client';
import ReactDOM from 'react-dom';
import { BrowserRouter } from 'react-router-dom';

import App from './App';
import apolloClient from './apollo';
import Themer from './components/Themer';
import { defaultLightTheme, defaultDarkTheme } from './themes/index';

ReactDOM.render(
  <ApolloProvider client={apolloClient}>
    <BrowserRouter>
      <Themer lightTheme={defaultLightTheme} darkTheme={defaultDarkTheme}>
        <App />
      </Themer>
    </BrowserRouter>
  </ApolloProvider>,
  document.getElementById('root')
);