mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 17:46:56 +03:00
clarify comment
This commit is contained in:
parent
a88fdba1fa
commit
d231e4cffe
|
@ -172,7 +172,7 @@ function liftReducerWith(reducer, initialCommittedState, monitorReducer, options
|
|||
|
||||
for (let i = 0; i < idsToDelete.length; i++) {
|
||||
if (computedStates[i + 1].error) {
|
||||
// Stop if error is found. Commit only up to error.
|
||||
// Stop if error is found. Commit actions up to error.
|
||||
excess = i;
|
||||
idsToDelete = stagedActionIds.slice(1, excess + 1);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user