@@ -363,31 +363,7 @@ class IDEView extends React.Component {
363
363
this . props . ide . isPlaying ) ||
364
364
this . props . ide . isAccessibleOutputPlaying }
365
365
</ div >
366
- < PreviewFrame
367
- htmlFile = { this . props . htmlFile }
368
- files = { this . props . files }
369
- content = { this . props . selectedFile . content }
370
- isPlaying = { this . props . ide . isPlaying }
371
- isAccessibleOutputPlaying = {
372
- this . props . ide . isAccessibleOutputPlaying
373
- }
374
- textOutput = { this . props . preferences . textOutput }
375
- gridOutput = { this . props . preferences . gridOutput }
376
- soundOutput = { this . props . preferences . soundOutput }
377
- setTextOutput = { this . props . setTextOutput }
378
- setGridOutput = { this . props . setGridOutput }
379
- setSoundOutput = { this . props . setSoundOutput }
380
- dispatchConsoleEvent = { this . props . dispatchConsoleEvent }
381
- autorefresh = { this . props . preferences . autorefresh }
382
- previewIsRefreshing = { this . props . ide . previewIsRefreshing }
383
- endSketchRefresh = { this . props . endSketchRefresh }
384
- stopSketch = { this . props . stopSketch }
385
- setBlobUrl = { this . props . setBlobUrl }
386
- expandConsole = { this . props . expandConsole }
387
- clearConsole = { this . props . clearConsole }
388
- cmController = { this . cmController }
389
- language = { this . props . preferences . language }
390
- />
366
+ < PreviewFrame cmController = { this . cmController } />
391
367
</ div >
392
368
</ section >
393
369
</ SplitPane >
@@ -566,7 +542,6 @@ IDEView.propTypes = {
566
542
name : PropTypes . string . isRequired ,
567
543
content : PropTypes . string . isRequired ,
568
544
} ) . isRequired ,
569
- dispatchConsoleEvent : PropTypes . func . isRequired ,
570
545
newFile : PropTypes . func . isRequired ,
571
546
expandSidebar : PropTypes . func . isRequired ,
572
547
collapseSidebar : PropTypes . func . isRequired ,
@@ -592,10 +567,7 @@ IDEView.propTypes = {
592
567
} ) . isRequired ,
593
568
route : PropTypes . oneOfType ( [ PropTypes . object , PropTypes . element ] ) . isRequired ,
594
569
setTheme : PropTypes . func . isRequired ,
595
- endSketchRefresh : PropTypes . func . isRequired ,
596
- setBlobUrl : PropTypes . func . isRequired ,
597
570
setPreviousPath : PropTypes . func . isRequired ,
598
- clearConsole : PropTypes . func . isRequired ,
599
571
showErrorModal : PropTypes . func . isRequired ,
600
572
hideErrorModal : PropTypes . func . isRequired ,
601
573
clearPersistedState : PropTypes . func . isRequired ,
0 commit comments