index.js 670 B

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