File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -80,8 +80,6 @@ class IDEView extends React.Component {
8080 consoleSize : props . ide . consoleIsExpanded ? 150 : 29 ,
8181 sidebarSize : props . ide . sidebarIsExpanded ? 160 : 20 ,
8282 } ;
83-
84- this . previewFrame = React . createRef ( ) ;
8583 }
8684
8785 componentDidMount ( ) {
@@ -342,9 +340,7 @@ class IDEView extends React.Component {
342340 className = "editor-preview-subpanel"
343341 >
344342 < Editor provideController = { ( ctl ) => { this . cmController = ctl ; } } />
345- < Console
346- previewFrame = { this . previewFrame . current }
347- />
343+ < Console />
348344 </ SplitPane >
349345 < section className = "preview-frame-holder" >
350346 < header className = "preview-frame__header" >
@@ -389,7 +385,6 @@ class IDEView extends React.Component {
389385 clearConsole = { this . props . clearConsole }
390386 cmController = { this . cmController }
391387 language = { this . props . preferences . language }
392- ref = { this . previewFrame }
393388 />
394389 </ div >
395390 </ section >
You can’t perform that action at this time.
0 commit comments