File tree 1 file changed +1
-6
lines changed
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 {
80
80
consoleSize : props . ide . consoleIsExpanded ? 150 : 29 ,
81
81
sidebarSize : props . ide . sidebarIsExpanded ? 160 : 20 ,
82
82
} ;
83
-
84
- this . previewFrame = React . createRef ( ) ;
85
83
}
86
84
87
85
componentDidMount ( ) {
@@ -342,9 +340,7 @@ class IDEView extends React.Component {
342
340
className = "editor-preview-subpanel"
343
341
>
344
342
< Editor provideController = { ( ctl ) => { this . cmController = ctl ; } } />
345
- < Console
346
- previewFrame = { this . previewFrame . current }
347
- />
343
+ < Console />
348
344
</ SplitPane >
349
345
< section className = "preview-frame-holder" >
350
346
< header className = "preview-frame__header" >
@@ -389,7 +385,6 @@ class IDEView extends React.Component {
389
385
clearConsole = { this . props . clearConsole }
390
386
cmController = { this . cmController }
391
387
language = { this . props . preferences . language }
392
- ref = { this . previewFrame }
393
388
/>
394
389
</ div >
395
390
</ section >
You can’t perform that action at this time.
0 commit comments