about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-03-11 14:39:14 +0100
committerThibG <thib@sitedethib.com>2019-03-11 14:39:45 +0100
commita1c6e6de1b42ea1ecfa2bb188ab56ee5f73611ce (patch)
tree7e5b91e45661dbc22463be02fe6bc948f46b2e4a /app/javascript/flavours/glitch/components
parent4849eb8e7f58e9f1da73422fa71dbb07d6ff1db5 (diff)
Remove leftover console.log
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r--app/javascript/flavours/glitch/components/media_gallery.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/media_gallery.js b/app/javascript/flavours/glitch/components/media_gallery.js
index 28af21812..6be2b4700 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 });
     }