// @flow import '@blueprintjs/core/dist/blueprint.css'; import 'babel-polyfill'; import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import { ConnectedRouter } from 'react-router-redux'; import './global-styles.css'; import { Application } from './scenes'; import { configureStore } from './store'; const initialState = {}; const { store, history } = configureStore(initialState); const rootElement = document.getElementById('root'); if (rootElement) { ReactDOM.render( , rootElement); } else { console.error('Element with ID "root" was not found, cannot bootstrap react app'); }