15 lines
380 B
JavaScript
15 lines
380 B
JavaScript
import React from "react";
|
|
import ReactDOM from "react-dom";
|
|
import App from "./App";
|
|
import * as serviceWorker from "./serviceWorker";
|
|
import { Provider } from "react-redux";
|
|
import smartHutStore from "./store";
|
|
|
|
const index = (
|
|
<Provider store={smartHutStore}>
|
|
<App />
|
|
</Provider>
|
|
);
|
|
|
|
ReactDOM.render(index, document.getElementById("root"));
|
|
serviceWorker.unregister();
|