mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-29 04:53:54 +03:00
replaying flag held inside action
This commit is contained in:
parent
0382e6c37e
commit
2e25fe2b02
|
@ -70,7 +70,7 @@ function computeNextEntry(reducer, action, state, error, replaying) {
|
||||||
let nextState = state;
|
let nextState = state;
|
||||||
let nextError;
|
let nextError;
|
||||||
try {
|
try {
|
||||||
nextState = reducer(state, action, replaying);
|
nextState = reducer(state, { ...action, replaying });
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
nextError = err.toString();
|
nextError = err.toString();
|
||||||
if (typeof window === 'object' && typeof window.chrome !== 'undefined') {
|
if (typeof window === 'object' && typeof window.chrome !== 'undefined') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user