store pendingById #418

Merged
jessopb merged 7 commits from pending into master 2021-07-05 15:42:33 +02:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit f1496084bb - Show all commits

4
dist/bundle.es.js vendored
View file

@ -4585,7 +4585,9 @@ const doCheckPendingClaims = onConfirmed => (dispatch, getState) => {
}));
}
checkPendingCallbacks.forEach(cb => cb());
clearInterval(checkPendingInterval);
if (Object.keys(pendingById).length === 0) {
clearInterval(checkPendingInterval);
}
});
}
});

View file

@ -1023,7 +1023,9 @@ export const doCheckPendingClaims = (onConfirmed: Function) => (
);
}
checkPendingCallbacks.forEach(cb => cb());
clearInterval(checkPendingInterval);
if (Object.keys(pendingById).length === 0) {
clearInterval(checkPendingInterval);
}
});
}
});