aboutsummaryrefslogtreecommitdiffstats
path: root/development/uiStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'development/uiStore.js')
-rw-r--r--development/uiStore.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/development/uiStore.js b/development/uiStore.js
deleted file mode 100644
index bfec8f5e4..000000000
--- a/development/uiStore.js
+++ /dev/null
@@ -1,18 +0,0 @@
-const createStore = require('redux').createStore
-const applyMiddleware = require('redux').applyMiddleware
-const thunkMiddleware = require('redux-thunk').default
-const createLogger = require('redux-logger').createLogger
-const rootReducer = require('../ui/app/ducks')
-
-module.exports = configureStore
-
-const loggerMiddleware = createLogger()
-
-const createStoreWithMiddleware = applyMiddleware(
- thunkMiddleware,
- loggerMiddleware
-)(createStore)
-
-function configureStore (initialState) {
- return createStoreWithMiddleware(rootReducer, initialState)
-}