insomnia/app/index.js
Gregory Schier 7179c071d4 A bunch more
2016-03-20 22:47:49 -07:00

23 lines
595 B
JavaScript

import React from 'react'
import {render} from 'react-dom'
import {Provider} from 'react-redux'
import configureStore from './stores/configureStore'
import AppWrapper from './containers/App'
// Global CSS
import './css/index.scss'
import './css/lib/chrome/platform_app.css'
import './css/lib/fontawesome/css/font-awesome.css'
import * as GlobalActions from "./actions/global";
const store = configureStore();
// Dispatch the initial load of data
store.dispatch(GlobalActions.restoreState());
render(
<Provider store={store}><AppWrapper /></Provider>,
document.getElementById('root')
);