summaryrefslogtreecommitdiff
path: root/frontend/index.js
blob: 94cac350e73066904f4f347ce0f7635763c61bbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import React from 'react'
import ReactDOM from 'react-dom'
import { Provider } from 'react-redux'

import App from './app'

import { store, history } from './store'

const container = document.createElement('div')
document.body.appendChild(container)

ReactDOM.render(
  <Provider store={store}>
    <App history={history} />
  </Provider>, container
)