<commit_before>import thunkMiddleware from 'redux-thunk';
import promiseMiddleware from 'redux-promise';
import createLogger from 'redux-logger';
import { createStore, applyMiddleware } from 'redux';

import morphReducer from '../reducers';

let middleware;
if (process.env.NODE_ENV === 'production') {
  middleware = applyMiddleware(thunkMiddleware, promiseMiddleware);
} else {
  middleware = applyMiddleware(thunkMiddleware, promiseMiddleware, loggingMiddleware);
}
const loggingMiddleware = createLogger();

const store = createStore(
  morphReducer,
  middleware,
);

export default store;<commit_msg>Fix dev<commit_after>import thunkMiddleware from 'redux-thunk';
import promiseMiddleware from 'redux-promise';
import createLogger from 'redux-logger';
import { createStore, applyMiddleware } from 'redux';

import morphReducer from '../reducers';

let middleware;
if (process.env.NODE_ENV === 'production') {
  middleware = applyMiddleware(thunkMiddleware, promiseMiddleware);
} else {
  middleware = applyMiddleware(thunkMiddleware, promiseMiddleware, createLogger());
}

const store = createStore(
  morphReducer,
  middleware,
);

export default store;
{'fraction_non_alphanumeric': 0.10680447889750215, 'fraction_numerical': 0.0, 'mean_word_length': 6.746666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '887917', 'n_tokens_mistral': 326, 'n_tokens_neox': 340, 'n_words': 87}