fixed undetected console log

This commit is contained in:
Fedor Katurov 2019-12-30 11:01:47 +07:00
parent 570efa661d
commit f814fe6c42
3 changed files with 6 additions and 4 deletions

View file

@ -40,7 +40,6 @@ export const pushLoaderState = (state: number) => {
};
export const countDownToRefresh = (left: number = API_RETRY_INTERVAL): void => {
console.log('countdown');
if (left <= 0) return document.location.reload();
document.getElementById('loader-bar').style.width = `${(left / API_RETRY_INTERVAL) * 100}%`;