Fix video player regressions introduced by blurhash merge

lolsob-rspec
Thibaut Girka 2019-05-26 19:55:58 +02:00
parent c1619a5c24
commit 938edb44a1
1 changed files with 0 additions and 3 deletions

View File

@ -306,9 +306,6 @@ export default class Video extends React.PureComponent {
if (this.video && this.state.revealed && this.props.preventPlayback && !prevProps.preventPlayback) {
this.video.pause();
}
}
componentDidUpdate (prevProps) {
if (prevProps.blurhash !== this.props.blurhash && this.props.blurhash) {
this._decode();
}