1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-30 07:49:04 +09:00

Remove leftover console.log

This commit is contained in:
Thibaut Girka 2019-03-11 14:39:14 +01:00 committed by ThibG
parent 4849eb8e7f
commit a1c6e6de1b

View File

@ -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 });
}