mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 23:54:48 +01:00
test download and remove files
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user