diff options
Diffstat (limited to 'app/javascript/mastodon/features/ui/components/video_modal.jsx')
-rw-r--r-- | app/javascript/mastodon/features/ui/components/video_modal.jsx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/javascript/mastodon/features/ui/components/video_modal.jsx b/app/javascript/mastodon/features/ui/components/video_modal.jsx index 99359a58c..0e754ccc7 100644 --- a/app/javascript/mastodon/features/ui/components/video_modal.jsx +++ b/app/javascript/mastodon/features/ui/components/video_modal.jsx @@ -28,12 +28,6 @@ class VideoModal extends ImmutablePureComponent { componentDidMount () { const { media, onChangeBackgroundColor } = this.props; - - const backgroundColor = getAverageFromBlurhash(media.get('blurhash')); - - if (backgroundColor) { - onChangeBackgroundColor(backgroundColor); - } } render () { |