forked from treehouse/mastodon
Fix minor code quality issues (#16502)
parent
30ce6e395c
commit
3dcf3f2a3a
|
@ -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'));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue