@@ -212,30 +212,7 @@ class IDEView extends React.Component {
212
212
warnIfUnsavedChanges = { this . warnIfUnsavedChanges }
213
213
cmController = { this . cmController }
214
214
/>
215
- < Toolbar
216
- className = "Toolbar"
217
- isPlaying = { this . props . ide . isPlaying }
218
- stopSketch = { this . props . stopSketch }
219
- projectName = { this . props . project . name }
220
- setProjectName = { this . props . setProjectName }
221
- showEditProjectName = { this . props . showEditProjectName }
222
- hideEditProjectName = { this . props . hideEditProjectName }
223
- openPreferences = { this . props . openPreferences }
224
- preferencesIsVisible = { this . props . ide . preferencesIsVisible }
225
- setTextOutput = { this . props . setTextOutput }
226
- setGridOutput = { this . props . setGridOutput }
227
- setSoundOutput = { this . props . setSoundOutput }
228
- owner = { this . props . project . owner }
229
- project = { this . props . project }
230
- infiniteLoop = { this . props . ide . infiniteLoop }
231
- autorefresh = { this . props . preferences . autorefresh }
232
- setAutorefresh = { this . props . setAutorefresh }
233
- startSketch = { this . props . startSketch }
234
- startAccessibleSketch = { this . props . startAccessibleSketch }
235
- saveProject = { this . props . saveProject }
236
- currentUser = { this . props . user . username }
237
- showHelpModal = { this . props . showHelpModal }
238
- />
215
+ < Toolbar />
239
216
{ this . props . ide . preferencesIsVisible &&
240
217
< Overlay
241
218
title = "Settings"
@@ -547,8 +524,6 @@ IDEView.propTypes = {
547
524
} ) ,
548
525
updatedAt : PropTypes . string
549
526
} ) . isRequired ,
550
- setProjectName : PropTypes . func . isRequired ,
551
- openPreferences : PropTypes . func . isRequired ,
552
527
editorAccessibility : PropTypes . shape ( {
553
528
lintMessages : PropTypes . array . isRequired ,
554
529
} ) . isRequired ,
@@ -604,8 +579,6 @@ IDEView.propTypes = {
604
579
collapseConsole : PropTypes . func . isRequired ,
605
580
deleteFile : PropTypes . func . isRequired ,
606
581
updateFileName : PropTypes . func . isRequired ,
607
- showEditProjectName : PropTypes . func . isRequired ,
608
- hideEditProjectName : PropTypes . func . isRequired ,
609
582
openProjectOptions : PropTypes . func . isRequired ,
610
583
closeProjectOptions : PropTypes . func . isRequired ,
611
584
newFolder : PropTypes . func . isRequired ,
@@ -627,7 +600,6 @@ IDEView.propTypes = {
627
600
route : PropTypes . oneOfType ( [ PropTypes . object , PropTypes . element ] ) . isRequired ,
628
601
setUnsavedChanges : PropTypes . func . isRequired ,
629
602
setTheme : PropTypes . func . isRequired ,
630
- setAutorefresh : PropTypes . func . isRequired ,
631
603
endSketchRefresh : PropTypes . func . isRequired ,
632
604
startRefreshSketch : PropTypes . func . isRequired ,
633
605
setBlobUrl : PropTypes . func . isRequired ,
@@ -641,12 +613,10 @@ IDEView.propTypes = {
641
613
hideErrorModal : PropTypes . func . isRequired ,
642
614
clearPersistedState : PropTypes . func . isRequired ,
643
615
persistState : PropTypes . func . isRequired ,
644
- showHelpModal : PropTypes . func . isRequired ,
645
616
hideHelpModal : PropTypes . func . isRequired ,
646
617
showRuntimeErrorWarning : PropTypes . func . isRequired ,
647
618
hideRuntimeErrorWarning : PropTypes . func . isRequired ,
648
619
startSketch : PropTypes . func . isRequired ,
649
- startAccessibleSketch : PropTypes . func . isRequired
650
620
} ;
651
621
652
622
function mapStateToProps ( state ) {
0 commit comments