educt-client/src/index.tsx
2021-08-18 23:03:33 +03:00

22 lines
631 B
TypeScript

import { ColorModeScript } from '@chakra-ui/react';
import * as React from 'react';
import ReactDOM from 'react-dom';
import { App } from './App';
import { RootStoreProvider } from './providers';
import reportWebVitals from './reportWebVitals';
ReactDOM.render(
<>
<ColorModeScript />
<RootStoreProvider>
<App />
</RootStoreProvider>
</>,
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();