frontend/smart-hut/src/index.js

16 lines
380 B
JavaScript
Raw Normal View History

2020-05-12 13:18:33 +00:00
import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import App from './App';
import * as serviceWorker from './serviceWorker';
import smartHutStore from './store';
2020-02-24 14:22:19 +00:00
2020-04-07 10:46:55 +00:00
const index = (
<Provider store={smartHutStore}>
<App />
</Provider>
);
2020-05-12 13:18:33 +00:00
ReactDOM.render(index, document.getElementById('root'));
2020-02-24 14:22:19 +00:00
serviceWorker.unregister();