@@ -85,13 +85,12 @@ GUI.propTypes = {
8585 onSeeCommunity : PropTypes . func ,
8686 onUpdateProjectTitle : PropTypes . func ,
8787 onUpdateReduxProjectTitle : PropTypes . func ,
88- previewInfoVisible : PropTypes . bool ,
8988 projectHost : PropTypes . string ,
9089 projectTitle : PropTypes . string ,
9190 vm : PropTypes . instanceOf ( VM ) . isRequired
9291} ;
9392
94- const mapStateToProps = ( state , ownProps ) => ( {
93+ const mapStateToProps = state => ( {
9594 activeTabIndex : state . scratchGui . editorTab . activeTabIndex ,
9695 alertsVisible : state . scratchGui . alerts . visible ,
9796 backdropLibraryVisible : state . scratchGui . modals . backdropLibrary ,
@@ -103,7 +102,6 @@ const mapStateToProps = (state, ownProps) => ({
103102 isPlayerOnly : state . scratchGui . mode . isPlayerOnly ,
104103 isRtl : state . locales . isRtl ,
105104 loadingStateVisible : state . scratchGui . modals . loadingProject ,
106- previewInfoVisible : state . scratchGui . modals . previewInfo && ! ownProps . hideIntro ,
107105 targetIsStage : (
108106 state . scratchGui . targets . stage &&
109107 state . scratchGui . targets . stage . id === state . scratchGui . targets . editingTarget
0 commit comments