diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 6eb1d1d..8f10413 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -4585,7 +4585,9 @@ const doCheckPendingClaims = onConfirmed => (dispatch, getState) => { })); } checkPendingCallbacks.forEach(cb => cb()); - clearInterval(checkPendingInterval); + if (Object.keys(pendingById).length === 0) { + clearInterval(checkPendingInterval); + } }); } }); diff --git a/src/redux/actions/claims.js b/src/redux/actions/claims.js index 03e1b78..0af072c 100644 --- a/src/redux/actions/claims.js +++ b/src/redux/actions/claims.js @@ -1023,7 +1023,9 @@ export const doCheckPendingClaims = (onConfirmed: Function) => ( ); } checkPendingCallbacks.forEach(cb => cb()); - clearInterval(checkPendingInterval); + if (Object.keys(pendingById).length === 0) { + clearInterval(checkPendingInterval); + } }); } });