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 {
22
22
getModulePath ,
23
23
modulesFromSandboxSelector ,
24
24
} 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' ;
28
26
29
27
import SplitPane from 'react-split-pane' ;
30
28
@@ -168,7 +166,7 @@ class EditorPreview extends React.PureComponent {
168
166
addError = { sandboxActions . addError }
169
167
errors = { sandbox . errors }
170
168
clearErrors = { sandboxActions . clearErrors }
171
- isInProjectView = { sandbox . isInProjectView || true }
169
+ isInProjectView = { Boolean ( sandbox . isInProjectView ) }
172
170
externalResources = { sandbox . externalResources }
173
171
setProjectView = { sandboxActions . setProjectView }
174
172
preferences = { preferences }
You can’t perform that action at this time.
0 commit comments