2023-05-07 19:11:16 +00:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom/client';
|
2023-05-07 22:29:37 +00:00
|
|
|
import App from './App';
|
2023-05-07 19:11:16 +00:00
|
|
|
|
|
|
|
import { ChakraProvider } from '@chakra-ui/react';
|
2023-05-07 22:29:37 +00:00
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
import { store } from './store';
|
|
|
|
import { theme } from './theme';
|
2023-05-07 19:11:16 +00:00
|
|
|
|
|
|
|
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
|
|
|
<React.StrictMode>
|
2023-05-07 22:29:37 +00:00
|
|
|
<ChakraProvider theme={theme}>
|
|
|
|
<Provider store={store}>
|
|
|
|
<App />
|
|
|
|
</Provider>
|
2023-05-07 19:11:16 +00:00
|
|
|
</ChakraProvider>
|
|
|
|
</React.StrictMode>
|
|
|
|
);
|