From a1c6e6de1b42ea1ecfa2bb188ab56ee5f73611ce Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Mon, 11 Mar 2019 14:39:14 +0100 Subject: [PATCH] Remove leftover console.log --- app/javascript/flavours/glitch/components/media_gallery.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/javascript/flavours/glitch/components/media_gallery.js b/app/javascript/flavours/glitch/components/media_gallery.js index 28af21812d..6be2b4700a 100644 --- a/app/javascript/flavours/glitch/components/media_gallery.js +++ b/app/javascript/flavours/glitch/components/media_gallery.js @@ -238,7 +238,6 @@ export default class MediaGallery extends React.PureComponent { }; componentWillReceiveProps (nextProps) { - console.log(nextProps.revealed); if (!is(nextProps.media, this.props.media) || nextProps.revealed === true) { this.setState({ visible: nextProps.revealed === undefined ? (displayMedia !== 'hide_all' && !nextProps.sensitive || displayMedia === 'show_all') : nextProps.revealed }); }