{"size": 1004, "ext": "js", "max_stars_repo_path": "src/index.js", "max_stars_repo_name": "mai-youth/website", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/index.js", "max_issues_repo_name": "mai-youth/website", "max_issues_repo_issues_event_min_datetime": "2019-06-05T13:38:12.000Z", "max_issues_repo_issues_event_max_datetime": "2020-01-22T23:54:56.000Z", "max_forks_repo_path": "src/index.js", "max_forks_repo_name": "mai-youth/website-fe", "max_forks_repo_forks_event_min_datetime": "2019-06-05T13:35:47.000Z", "max_forks_repo_forks_event_max_datetime": "2019-06-05T13:35:47.000Z"}
{"max_stars_count": null, "max_issues_count": 55, "max_forks_count": 1, "avg_line_length": 27.8888888889, "max_line_length": 80, "alphanum_fraction": 0.7161354582}
import React from 'react';
import ReactDOM from 'react-dom';
import { applyMiddleware, compose, createStore } from 'redux';
import { Provider } from 'react-redux';
import thunkMiddleware from 'redux-thunk';
import { ToastContainer } from 'react-toastify';
import rootReducer from './reducers';
import Router from './Router';
import 'semantic-ui-css/semantic.min.css';
import 'react-toastify/dist/ReactToastify.css';
import './sass/index.sass';

// eslint-disable-next-line no-underscore-dangle
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const store = createStore(
  rootReducer,
  composeEnhancers(applyMiddleware(thunkMiddleware)),
);

ReactDOM.render(
  <Provider store={store}>
    <Router />
    <ToastContainer
      position="top-right"
      autoClose={false}
      newestOnTop={false}
      closeOnClick
      rtl={false}
      pauseOnVisibilityChange
      draggable
      style={{ top: '70px' }}
    />
  </Provider>,
  document.getElementById('root'),
);
