Skip to content
This repository was archived by the owner on Nov 19, 2018. It is now read-only.

Commit 34b355a

Browse files
rnicholusrnicholus
rnicholus
authored andcommitted
fix(pause-resume-button): invalid props passed to <button>
fixes #153
1 parent 78a055f commit 34b355a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pause-resume-button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class PauseResumeButton extends Component {
100100
}
101101

102102
render() {
103-
const { onlyRenderIfEnabled, id, uploader, ...elementProps } = this.props // eslint-disable-line no-unused-vars
103+
const { onlyRenderIfEnabled, id, pauseChildren, resumeChildren, uploader, ...elementProps } = this.props // eslint-disable-line no-unused-vars
104104

105105
if (this.state.pausable || this.state.resumable || !onlyRenderIfEnabled) {
106106
return (

0 commit comments

Comments
 (0)