<commit_before>import { createStore, applyMiddleware } from 'redux';
import rootReducer from 'reducers/';
import thunk from 'redux-thunk';

/* Redux middleware that show error when you try to mutate your state either inside a dispatch or between dispatches */
import reduxImmutableStateInvariant from 'redux-immutable-state-invariant';

export default function configureStore(initialState) {
  return createStore(
    rootReducer,
    initialState,
    applyMiddleware(thunk, reduxImmutableStateInvariant())
  );
}<commit_msg>make redux extension work<commit_after>import { createStore, applyMiddleware } from 'redux';
import rootReducer from 'reducers/';
import thunk from 'redux-thunk';

/* Redux middleware that show error when you try to mutate your state either inside a dispatch or between dispatches */
import reduxImmutableStateInvariant from 'redux-immutable-state-invariant';

export default function configureStore(initialState) {
  return createStore(
    rootReducer,
    initialState,
    window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__(),    
    applyMiddleware(thunk, reduxImmutableStateInvariant()),
  );
}
{'fraction_non_alphanumeric': 0.07819287576020852, 'fraction_numerical': 0.0, 'mean_word_length': 5.7368421052631575, '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': '2482427', 'n_tokens_mistral': 334, 'n_tokens_neox': 324, 'n_words': 97}