fix bug canceling pending check early
This commit is contained in:
parent
7b1cec5d52
commit
f1496084bb
2 changed files with 6 additions and 2 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -4585,7 +4585,9 @@ const doCheckPendingClaims = onConfirmed => (dispatch, getState) => {
|
|||
}));
|
||||
}
|
||||
checkPendingCallbacks.forEach(cb => cb());
|
||||
if (Object.keys(pendingById).length === 0) {
|
||||
clearInterval(checkPendingInterval);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1023,7 +1023,9 @@ export const doCheckPendingClaims = (onConfirmed: Function) => (
|
|||
);
|
||||
}
|
||||
checkPendingCallbacks.forEach(cb => cb());
|
||||
if (Object.keys(pendingById).length === 0) {
|
||||
clearInterval(checkPendingInterval);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue