File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/app/pages/Sandbox/Editor/Content Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ import {
2222 getModulePath ,
2323 modulesFromSandboxSelector ,
2424} from 'app/store/entities/sandboxes/modules/selectors' ;
25- import {
26- directoriesFromSandboxSelector ,
27- } from 'app/store/entities/sandboxes/directories/selectors' ;
25+ import { directoriesFromSandboxSelector } from 'app/store/entities/sandboxes/directories/selectors' ;
2826
2927import SplitPane from 'react-split-pane' ;
3028
@@ -168,7 +166,7 @@ class EditorPreview extends React.PureComponent {
168166 addError = { sandboxActions . addError }
169167 errors = { sandbox . errors }
170168 clearErrors = { sandboxActions . clearErrors }
171- isInProjectView = { sandbox . isInProjectView || true }
169+ isInProjectView = { Boolean ( sandbox . isInProjectView ) }
172170 externalResources = { sandbox . externalResources }
173171 setProjectView = { sandboxActions . setProjectView }
174172 preferences = { preferences }
You can’t perform that action at this time.
0 commit comments