Hide project info alerts when switching to editor

This commit is contained in:
Paul Kaplan 2018-12-11 11:18:53 -05:00
parent ace110c59b
commit 78506f82c7

View file

@ -431,6 +431,10 @@ class Preview extends React.Component {
this.props.remixProject();
}
handleSeeInside () {
this.setState({ // Remove any project alerts so they don't show up later
showUsernameBlockAlert: false,
showCloudDataAlert: false
});
this.props.setPlayer(false);
if (this.state.justRemixed || this.state.justShared) {
this.setState({