chore: remove applyAppStateMiddleware

This commit is contained in:
GleidsonDaniel 2021-12-21 17:14:08 -03:00
parent f169f6e0a7
commit 69f27438b2
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
import { applyMiddleware, compose, createStore } from 'redux';
import createSagaMiddleware from 'redux-saga';
import applyAppStateMiddleware from '../app/lib/appStateMiddleware';
import reducers from '../app/reducers';
const enhancers = compose(applyAppStateMiddleware(), applyMiddleware(createSagaMiddleware()));
const enhancers = compose(applyMiddleware(createSagaMiddleware()));
export const mockedStore = createStore(reducers, enhancers);