File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
src/components/ResizableLayout Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 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" : [
Original file line number Diff line number Diff 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 } </ > ;
You can’t perform that action at this time.
0 commit comments