<commit_before>import thunk from 'redux-thunk'
import rootReducer from './modules'
import {
  applyMiddleware,
  compose,
  createStore
} from 'redux'

export default function configureStore (initialState) {
  let createStoreWithMiddleware

  const middleware = applyMiddleware(thunk)

  createStoreWithMiddleware = compose(middleware)

  const store = createStoreWithMiddleware(createStore)(
    rootReducer, initialState
  )

  return store
}<commit_msg>remove server side rendering initial state<commit_after>import thunk from 'redux-thunk'
import rootReducer from './modules'
import {
  applyMiddleware,
  compose,
  createStore
} from 'redux'

export default function configureStore () {
  let createStoreWithMiddleware

  const middleware = applyMiddleware(thunk)

  createStoreWithMiddleware = compose(middleware)

  const store = createStoreWithMiddleware(createStore)(
    rootReducer
  )

  return store
}
{'fraction_non_alphanumeric': 0.06885245901639345, 'fraction_numerical': 0.0, 'mean_word_length': 5.317241379310345, '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': '4093156', 'n_tokens_mistral': 264, 'n_tokens_neox': 258, 'n_words': 69}