mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 08:04:52 +01:00
cleanup
This commit is contained in:
@@ -30,7 +30,7 @@ export default class ProgressBar extends React.Component<IProps, IState> {
|
||||
|
||||
componentDidMount() {
|
||||
// Periodically check the progress of passed file path
|
||||
const intv = setInterval(() => {
|
||||
setInterval(() => {
|
||||
const prog = this.props.downloadManager.getTotalAverage()
|
||||
this.setState({
|
||||
average: prog?.average || 0,
|
||||
|
||||
Reference in New Issue
Block a user