You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My version is ^2.4.1.
I have a search bar for users to input, then call the API to present the result with react-h5-audio-player.
The first time is no problem, but when the user search again, it will crash by that.
hi
I got audio variation is undefined when componentWillUnmount.
it happened in CurrentTime.js, Duration.js, ProgressBar.js, and VolumeBar.js when componentWillUnmount
and I change it to this, everything goes fine.
CurrentTime.js
`
_proto.componentWillUnmount = function componentWillUnmount() {
var audio = this.props.audio;
};
`
Duration.js
`
_proto.componentWillUnmount = function componentWillUnmount() {
var audio = this.props.audio;
};
`
VolumeBar.js
`
_proto.componentWillUnmount = function componentWillUnmount() {
var audio = this.props.audio;
};
`
ProgressBar.js
`
_proto.componentWillUnmount = function componentWillUnmount() {
var audio = this.props.audio;
};
`
please check it
Thanks a lot : )
The text was updated successfully, but these errors were encountered: