e87390adb9
* update eslint and dependencies, fix linting errors that can be fixed with --fix * fix lots of linting errors * update eslintrc, fix some linting errors * fix all server side linting errors, untested * fix errors that fixing linting errors had caused * fix client side eslint errors * fix client side linting errors * fix refs lint errors * fix more linting errors * update eslint and dependencies, fix linting errors that can be fixed with --fix * fix lots of linting errors * update eslintrc, fix some linting errors * fix all server side linting errors, untested * fix errors that fixing linting errors had caused * fix client side eslint errors * fix client side linting errors * fix refs lint errors * fix more linting errors * fix some accessibility linting errors * fix a lot of linting errors * fix a billion more linting errors * hopefully fix all linting errors, still need to test * fix bugs that fixing linting had caused
19 lines
527 B
JavaScript
19 lines
527 B
JavaScript
import React from 'react';
|
|
import { render } from 'react-dom';
|
|
import { Provider } from 'react-redux';
|
|
import { Router, browserHistory } from 'react-router';
|
|
import configureStore from './store';
|
|
import routes from './routes';
|
|
|
|
require('./styles/main.scss');
|
|
|
|
const history = browserHistory;
|
|
const initialState = window.__INITIAL_STATE__;
|
|
const store = configureStore(initialState);
|
|
|
|
render(
|
|
<Provider store={store}>
|
|
<Router history={history} routes={routes(store)} />
|
|
</Provider>,
|
|
document.getElementById('root')
|
|
);
|