index.js 300 B

1234567891011121314
  1. import React from 'react';
  2. import ReactDOM from 'react-dom';
  3. import './index.css';
  4. import App from './App';
  5. import {Provider} from 'react-redux';
  6. import {store} from './store'
  7. ReactDOM.render(
  8. <Provider store={store}>
  9. <App/>
  10. </Provider>
  11. ,document.getElementById('root')
  12. );