index.tsx 593 Bytes
Newer Older
1 2 3 4 5
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
mayi's avatar
mayi committed
6 7
import {AppStateProvider} from './AppState'

8 9 10

ReactDOM.render(
  <React.StrictMode>
mayi's avatar
mayi committed
11
    <AppStateProvider >
12
    <App />
mayi's avatar
mayi committed
13
    </AppStateProvider>
14 15 16 17 18 19 20 21
  </React.StrictMode>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();