2023-08-13 15:31:47 +02:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom/client';
|
|
|
|
import './index.css';
|
|
|
|
import reportWebVitals from './reportWebVitals';
|
2023-10-18 17:20:37 +02:00
|
|
|
import App from './App';
|
|
|
|
import { AppDataProvider } from "./context/data"
|
|
|
|
import { AppContextProvider } from "./context/app"
|
2023-08-13 15:31:47 +02:00
|
|
|
|
|
|
|
const root = ReactDOM.createRoot(document.getElementById('root'));
|
|
|
|
root.render(
|
2023-10-18 17:20:37 +02:00
|
|
|
|
|
|
|
//<React.StrictMode>
|
|
|
|
<AppContextProvider>
|
|
|
|
<AppDataProvider>
|
|
|
|
<App />
|
|
|
|
</AppDataProvider>
|
|
|
|
</AppContextProvider>
|
|
|
|
//</React.StrictMode>
|
2023-08-13 15:31:47 +02:00
|
|
|
);
|
|
|
|
|
|
|
|
// 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();
|