fix #3008 : props was not defined (#3022)

This commit is contained in:
Wonderfall 2017-05-12 20:58:41 +02:00 committed by Eugen Rochko
parent 0d70fe2659
commit b65950bb2e

View File

@ -135,7 +135,7 @@ class MediaGallery extends React.PureComponent {
}; };
state = { state = {
visible: !props.sensitive visible: !this.props.sensitive
}; };
handleOpen = (e) => { handleOpen = (e) => {