You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
634 B

3 years ago
3 years ago
3 years ago
  1. import React from 'react';
  2. import ReactDOM from 'react-dom';
  3. import './index.css';
  4. import App from './App';
  5. import reportWebVitals from "./reportWebVitals";
  6. import {DataContextProvider} from "./contexts/DataContext";
  7. ReactDOM.render(
  8. <React.StrictMode>
  9. <DataContextProvider>
  10. <App/>
  11. </DataContextProvider>
  12. </React.StrictMode>,
  13. document.getElementById('root')
  14. );
  15. // If you want to start measuring performance in your app, pass a function
  16. // to log results (for example: reportWebVitals(console.log))
  17. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  18. reportWebVitals();