mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Fix
This commit is contained in:
parent
aa96457313
commit
dcd981a3e5
|
@ -539,10 +539,14 @@ function __REDUX_DEVTOOLS_EXTENSION__<S, A extends Action<unknown>>(
|
|||
return next(reducer_, initialState_);
|
||||
}
|
||||
|
||||
store = stores[instanceId] = configureStore(next, monitor.reducer, {
|
||||
...config,
|
||||
maxAge: getMaxAge as any,
|
||||
})(reducer_, initialState_) as any;
|
||||
store = stores[instanceId] = configureStore(
|
||||
next as StoreEnhancerStoreCreator,
|
||||
monitor.reducer,
|
||||
{
|
||||
...config,
|
||||
maxAge: getMaxAge as any,
|
||||
}
|
||||
)(reducer_, initialState_) as any;
|
||||
|
||||
if (isInIframe()) setTimeout(init, 3000);
|
||||
else init();
|
||||
|
|
Loading…
Reference in New Issue
Block a user