mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 17:46:56 +03:00
fix linter warning
This commit is contained in:
parent
4e50f10802
commit
a88fdba1fa
|
@ -165,8 +165,9 @@ function liftReducerWith(reducer, initialCommittedState, monitorReducer, options
|
|||
computedStates
|
||||
} = liftedState;
|
||||
|
||||
function commitExcessActions(excess) {
|
||||
// If maxAge has been exceeded, auto-commit excess.
|
||||
function commitExcessActions(n) {
|
||||
// Auto-commits n-number of excess actions.
|
||||
let excess = n;
|
||||
let idsToDelete = stagedActionIds.slice(1, excess + 1);
|
||||
|
||||
for (let i = 0; i < idsToDelete.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user