frontend/smart-hut/src/index.js

16 lines
380 B
JavaScript
Raw Normal View History

2020-03-23 20:24:17 +00:00
import React from "react";
import ReactDOM from "react-dom";
import App from "./App";
import * as serviceWorker from "./serviceWorker";
2020-04-07 10:46:55 +00:00
import { Provider } from "react-redux";
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-03-23 20:24:17 +00:00
ReactDOM.render(index, document.getElementById("root"));
2020-02-24 14:22:19 +00:00
serviceWorker.unregister();