@uppy/status-bar: remove unused component props (#5211)

This commit is contained in:
Antoine du Hamel 2024-06-03 11:58:40 +02:00 committed by GitHub
parent 5afb2affd1
commit 2284d89e26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -167,7 +167,6 @@ export default class StatusBar<M extends Meta, B extends Body> extends UIPlugin<
isUploadStarted,
isAllComplete,
isAllErrored,
isAllPaused,
isUploadInProgress,
isSomeGhost,
@ -207,8 +206,6 @@ export default class StatusBar<M extends Meta, B extends Body> extends UIPlugin<
totalUploadedSize,
isAllComplete: false,
isAllPaused,
// @ts-expect-error TODO: remove this in 4.x branch
isAllErrored,
isUploadStarted,
isUploadInProgress,
isSomeGhost,
@ -230,8 +227,6 @@ export default class StatusBar<M extends Meta, B extends Body> extends UIPlugin<
hidePauseResumeButton: this.opts.hidePauseResumeButton,
hideCancelButton: this.opts.hideCancelButton,
hideAfterFinish: this.opts.hideAfterFinish,
// ts-expect-error TODO: remove this in 4.x branch
isTargetDOMEl: this.isTargetDOMEl,
})
}