This commit is contained in:
Sean Yesmunt 2018-10-18 11:23:08 -04:00
parent 8258fc887e
commit a98a001e13

View file

@ -34,7 +34,7 @@ export function doUpdateLoadStatus(uri: string, outpoint: string) {
const setNextStatusUpdate = () =>
setTimeout(() => {
// We need to check if outpoint still exists first because user are able to delete file (outpoint) while downloading.
// If fiel is already deleted, no point to still try update load status
// If a file is already deleted, no point to still try update load status
const byOutpoint = selectFileInfosByOutpoint(getState());
if (byOutpoint[outpoint]) {
dispatch(doUpdateLoadStatus(uri, outpoint));