michaltakac/mathworldvr

View on GitHub
src/store/configureStore.prod.js

Summary

Maintainability
A
0 mins
Test Coverage
import { createStore, applyMiddleware } from 'redux'
import thunk from 'redux-thunk'
import rootReducer from '../reducers'

const configureStore = initialState => createStore(
  rootReducer,
  initialState,
  applyMiddleware(thunk)
)

export default configureStore