<commit_before>import { createStore, combineReducers, compose } from 'redux'

import * as blacklist from './blacklist'
import * as imports from './imports'

const rootReducer = combineReducers({
    blacklist: blacklist.reducer,
    imports: imports.reducer,
})

export default function configureStore({ReduxDevTools = undefined} = {}) {
    const enhancers = [
        blacklist.enhancer,
        imports.enhancer,
    ]

    if (ReduxDevTools) {
        enhancers.push(ReduxDevTools.instrument())
    }

    const enhancer = compose(...enhancers)

    return createStore(<commit_msg>Add redux-thunk to store creator<commit_after>import { createStore, combineReducers, compose, applyMiddleware } from 'redux'
import thunk from 'redux-thunk'

import * as blacklist from './blacklist'
import * as imports from './imports'

const rootReducer = combineReducers({
    blacklist: blacklist.reducer,
    imports: imports.reducer,
})

export default function configureStore({ReduxDevTools = undefined} = {}) {
    const enhancers = [
        blacklist.enhancer,
        imports.enhancer,
        applyMiddleware(
            thunk,
        ),
    ]

    if (ReduxDevTools) {
        enhancers.push(ReduxDevTools.instrument())
    }

    const enhancer = compose(...enhancers)

    return createStore(
{'fraction_non_alphanumeric': 0.10440835266821345, 'fraction_numerical': 0.0, 'mean_word_length': 3.2706270627062706, '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': '5176607', 'n_tokens_mistral': 389, 'n_tokens_neox': 385, 'n_words': 90}