{"size": 355, "ext": "js", "max_stars_repo_path": "src/store.js", "max_stars_repo_name": "alex-alina/run-tracker-app", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/store.js", "max_issues_repo_name": "alex-alina/run-tracker-app", "max_issues_repo_issues_event_min_datetime": "2020-09-05T23:29:54.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T13:52:03.000Z", "max_forks_repo_path": "src/store.js", "max_forks_repo_name": "alex-alina/run-tracker-app", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 6, "max_forks_count": null, "avg_line_length": 27.3076923077, "max_line_length": 80, "alphanum_fraction": 0.7915492958}
import { createStore, applyMiddleware, compose } from 'redux';
import reducer from './reducers';
import ReduxThunk from 'redux-thunk';

const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;

const enhancer = composeEnhancers(
  applyMiddleware(ReduxThunk)
);

const store = createStore(reducer, enhancer);

export default store;