mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -05:00
Hide project info alerts when switching to editor
This commit is contained in:
parent
ace110c59b
commit
78506f82c7
1 changed files with 4 additions and 0 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue