fix: call the internetStateMiddleware for release mode (#5364)
Co-authored-by: Gleidson Daniel Silva <gleidson10daniel@hotmail.com>
This commit is contained in:
parent
b217435ffe
commit
413377fa63
|
@ -25,7 +25,7 @@ if (__DEV__) {
|
|||
);
|
||||
} else {
|
||||
sagaMiddleware = createSagaMiddleware();
|
||||
enhancers = compose(applyAppStateMiddleware(), applyMiddleware(sagaMiddleware));
|
||||
enhancers = compose(applyAppStateMiddleware(), applyInternetStateMiddleware(), applyMiddleware(sagaMiddleware));
|
||||
}
|
||||
|
||||
const store = createStore(reducers, enhancers);
|
||||
|
|
Loading…
Reference in New Issue