2021-05-06 19:03:31 +02:00
|
|
|
import './index.css';
|
2021-11-09 14:33:51 +01:00
|
|
|
|
2023-08-03 23:24:56 -04:00
|
|
|
import React from 'react';
|
|
|
|
import { createRoot } from 'react-dom/client';
|
2021-11-09 14:33:51 +01:00
|
|
|
import { Provider } from 'react-redux';
|
|
|
|
|
2021-11-11 14:45:58 +01:00
|
|
|
import { App } from './App';
|
2023-08-03 23:24:56 -04:00
|
|
|
import { store } from './store/store';
|
2021-05-06 19:03:31 +02:00
|
|
|
|
2023-08-03 23:24:56 -04:00
|
|
|
const container = document.getElementById('root');
|
|
|
|
const root = createRoot(container!); // createRoot(container!) if you use TypeScript
|
|
|
|
root.render(
|
2021-05-06 19:03:31 +02:00
|
|
|
<React.StrictMode>
|
2021-11-09 14:33:51 +01:00
|
|
|
<Provider store={store}>
|
|
|
|
<App />
|
|
|
|
</Provider>
|
2023-08-03 23:24:56 -04:00
|
|
|
</React.StrictMode>);
|