summaryrefslogtreecommitdiff
path: root/frontend/src/index.js
blob: 1959b14a9ca136a9a5a1fdeb1eb74c32649ec582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import 'babel-polyfill'

import React from 'react'
import ReactDOM from 'react-dom'
import { Router } from 'react-router'
import { Provider } from 'react-redux'
import configureStore from './store'
import { routes } from './routes'

const initialState = {}
const { store, history } = configureStore(initialState)

import './global-styles.css'

ReactDOM.render(
  <Provider store={store}>
    <Router history={history} routes={routes} />
  </Provider>,
  document.getElementById('root')
);
bgstack15