Fix minor code quality issues (#16502)

This commit is contained in:
Claire 2021-07-14 05:36:23 +02:00 committed by GitHub
parent 1e452a10b8
commit 1d79ecf729
2 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ export default class VideoModal extends ImmutablePureComponent {
}; };
componentDidMount () { componentDidMount () {
const { media, onChangeBackgroundColor, onClose } = this.props; const { media, onChangeBackgroundColor } = this.props;
const backgroundColor = getAverageFromBlurhash(media.get('blurhash')); const backgroundColor = getAverageFromBlurhash(media.get('blurhash'));