Skip to content

Commit a8a92ea

Browse files
committed
More debug
1 parent 53ed10a commit a8a92ea

File tree

2 files changed

+14
-16
lines changed

2 files changed

+14
-16
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": [

src/components/IdeInterface/IdeInterface.tsx

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)