fix typo
This commit is contained in:
parent
8258fc887e
commit
a98a001e13
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export function doUpdateLoadStatus(uri: string, outpoint: string) {
|
||||||
const setNextStatusUpdate = () =>
|
const setNextStatusUpdate = () =>
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
// We need to check if outpoint still exists first because user are able to delete file (outpoint) while downloading.
|
// 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());
|
const byOutpoint = selectFileInfosByOutpoint(getState());
|
||||||
if (byOutpoint[outpoint]) {
|
if (byOutpoint[outpoint]) {
|
||||||
dispatch(doUpdateLoadStatus(uri, outpoint));
|
dispatch(doUpdateLoadStatus(uri, outpoint));
|
||||||
|
|
Loading…
Add table
Reference in a new issue