Merge pull request #2017 from MetaMask/DevEnviornment

Update redux middleware imports
feature/default_network_editable
kumavis 7 years ago committed by GitHub
commit 47340ca550
  1. 4
      development/uiStore.js
  2. 4
      test/lib/mock-store.js

@ -1,7 +1,7 @@
const createStore = require('redux').createStore const createStore = require('redux').createStore
const applyMiddleware = require('redux').applyMiddleware const applyMiddleware = require('redux').applyMiddleware
const thunkMiddleware = require('redux-thunk') const thunkMiddleware = require('redux-thunk').default
const createLogger = require('redux-logger') const createLogger = require('redux-logger').createLogger
const rootReducer = require('../ui/app/reducers') const rootReducer = require('../ui/app/reducers')
module.exports = configureStore module.exports = configureStore

@ -1,7 +1,7 @@
const createStore = require('redux').createStore const createStore = require('redux').createStore
const applyMiddleware = require('redux').applyMiddleware const applyMiddleware = require('redux').applyMiddleware
const thunkMiddleware = require('redux-thunk') const thunkMiddleware = require('redux-thunk').default
const createLogger = require('redux-logger') const createLogger = require('redux-logger').createLogger
const rootReducer = function () {} const rootReducer = function () {}
module.exports = configureStore module.exports = configureStore

Loading…
Cancel
Save