mirror of
https://github.com/sergeyyarkov/educt-client.git
synced 2026-10-11 18:29:15 +03:00
24 lines
713 B
TypeScript
24 lines
713 B
TypeScript
import { ChakraProvider, ColorModeScript, theme } 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>
|
|
<ChakraProvider theme={theme}>
|
|
<App />
|
|
</ChakraProvider>
|
|
</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();
|