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

                                                 
 
                                                              
 


                                    

                
                                        
                   
                                   
               
                      

                    
                                 
  
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>
  </ApolloProvider>,
  document.getElementById('root')
);