chore: remove applyAppStateMiddleware
This commit is contained in:
parent
f169f6e0a7
commit
69f27438b2
|
@ -1,8 +1,7 @@
|
||||||
import { applyMiddleware, compose, createStore } from 'redux';
|
import { applyMiddleware, compose, createStore } from 'redux';
|
||||||
import createSagaMiddleware from 'redux-saga';
|
import createSagaMiddleware from 'redux-saga';
|
||||||
|
|
||||||
import applyAppStateMiddleware from '../app/lib/appStateMiddleware';
|
|
||||||
import reducers from '../app/reducers';
|
import reducers from '../app/reducers';
|
||||||
|
|
||||||
const enhancers = compose(applyAppStateMiddleware(), applyMiddleware(createSagaMiddleware()));
|
const enhancers = compose(applyMiddleware(createSagaMiddleware()));
|
||||||
export const mockedStore = createStore(reducers, enhancers);
|
export const mockedStore = createStore(reducers, enhancers);
|
||||||
|
|
Loading…
Reference in New Issue