File tree Expand file tree Collapse file tree 2 files changed +14
-16
lines changed
src/components/IdeInterface Expand file tree Collapse file tree 2 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " jderobot-ide-interface" ,
3- "version" : " 0.1.90 " ,
3+ "version" : " 0.1.91 " ,
44 "main" : " dist/main.js" ,
55 "typings" : " dist/index.d.ts" ,
66 "files" : [
Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ const IdeInterface = ({
6363 options,
6464 splashIcon,
6565 baseFile,
66- baseUniverse
66+ baseUniverse,
6767} : IdeInterfaceProps ) => {
6868 const theme = useTheme ( ) ;
69-
69+
7070 var [ currentFile , setCurrentFile ] = useState < Entry | undefined > ( baseFile ) ;
7171
7272 if ( splashIcon === undefined ) {
@@ -91,18 +91,16 @@ const IdeInterface = ({
9191 layout = { layout }
9292 splashIcon = { splashIcon }
9393 >
94- { explorers . length > 0 && (
95- < ResizableColumn >
96- { explorers . map ( ( explorer ) => (
97- < Explorer
98- setCurrentFile = { setCurrentFile }
99- currentFile = { currentFile }
100- project = { project }
101- api = { explorer }
102- />
103- ) ) }
104- </ ResizableColumn >
105- ) }
94+ < ResizableColumn >
95+ { explorers . map ( ( explorer ) => (
96+ < Explorer
97+ setCurrentFile = { setCurrentFile }
98+ currentFile = { currentFile }
99+ project = { project }
100+ api = { explorer }
101+ />
102+ ) ) }
103+ </ ResizableColumn >
106104 < StyledIdeVertContainer bgColor = { theme . palette ?. primary } >
107105 < StyledIdeContainer bgColor = { theme . palette ?. background } >
108106 < FileEditor
@@ -159,7 +157,7 @@ const ViewersContainer = ({
159157 } else {
160158 return state ;
161159 }
162- } ) ,
160+ } )
163161 ) ;
164162 } ;
165163
You can’t perform that action at this time.
0 commit comments