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

import App from 'site/app'

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

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

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