index.js 309 Bytes
Newer Older
mayi's avatar
mayi committed
1 2 3 4 5 6 7 8 9 10
import React from "react";
import ReactDOM from "react-dom";
import TodoList from "./TodoList";
import { Provider } from "react-redux";
import store from './store/index';
const App = (
  <Provider store={store}>
    <TodoList />
  </Provider>
);
11 12

ReactDOM.render(
mayi's avatar
mayi committed
13
  App,
14

mayi's avatar
mayi committed
15 16
  document.getElementById("root")
);