Remove console log

pull/8283/head
Akshay Joshi 2024-12-18 18:43:04 +05:30
parent fdf5d12196
commit e011ad02a5
1 changed files with 0 additions and 2 deletions

View File

@ -55,11 +55,9 @@ function WorkspaceButton({menuItem, value, ...props}) {
setDisabled(!hasOpenTabs(value)); setDisabled(!hasOpenTabs(value));
}); });
const deregChange = layout.eventBus.registerListener(LAYOUT_EVENTS.CHANGE, ()=>{ const deregChange = layout.eventBus.registerListener(LAYOUT_EVENTS.CHANGE, ()=>{
console.log(layout);
setDisabled(!hasOpenTabs(value)); setDisabled(!hasOpenTabs(value));
}); });
const deregRemove = layout.eventBus.registerListener(LAYOUT_EVENTS.REMOVE, ()=>{ const deregRemove = layout.eventBus.registerListener(LAYOUT_EVENTS.REMOVE, ()=>{
console.log(layout);
setDisabled(!hasOpenTabs(value)); setDisabled(!hasOpenTabs(value));
}); });