Skip to content

Commit 3101da0

Browse files
committed
Tests
1 parent 907ca79 commit 3101da0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
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.93",
3+
"version": "0.1.94",
44
"main": "dist/main.js",
55
"typings": "dist/index.d.ts",
66
"files": [

src/components/ResizableLayout/ResizableComponents.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,11 +223,17 @@ export const CollapsableResizableColumn = ({
223223
}) => {
224224
const theme = useTheme();
225225

226+
//FIX: if remove the first one. It stops working
227+
228+
console.log(state, children, "First")
229+
226230
for (let index = state.length - 1; index >= 0; index--) {
227231
if (!state[index]) {
228232
children.splice(index, 1);
229233
}
230234
}
235+
236+
console.log(state, children, "Second")
231237

232238
if (children.length === 0) {
233239
return <>{splashIcon}</>;

0 commit comments

Comments
 (0)