test download and remove files

This commit is contained in:
SpikeHD
2022-05-09 23:03:18 -07:00
parent 0a45a9a31c
commit 3c99dbcea6
4 changed files with 11 additions and 5 deletions

View File

@@ -37,9 +37,7 @@ export default class ProgressBar extends React.Component<IProps, IState> {
total: prog?.total || 0,
})
if (this.state.files === 0 /* || this.state.status === 'error' */) {
clearInterval(intv)
}
console.log(prog)
}, 500)
}