From b884c747959a50d25de9208eae927932e02a9e35 Mon Sep 17 00:00:00 2001 From: Predrag Klepic Date: Tue, 11 Jul 2023 14:43:42 +0200 Subject: [PATCH] Removing unnececcary code --- src/Explorer/Tree/SampleDataTree.tsx | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Explorer/Tree/SampleDataTree.tsx b/src/Explorer/Tree/SampleDataTree.tsx index 0bbd1cbb4..d30f3140e 100644 --- a/src/Explorer/Tree/SampleDataTree.tsx +++ b/src/Explorer/Tree/SampleDataTree.tsx @@ -30,16 +30,6 @@ export const SampleDataTree = ({ isExpanded: false, className: "sampleCollectionHeader", contextMenu: ResourceTreeContextMenuButtonFactory.createSampleCollectionContextMenuButton(), - // onClick: () => { - // // Rewritten version of expandCollapseCollection - // useSelectedNode.getState().setSelectedNode(sampleDataResourceTokenCollection); - // useCommandBar.getState().setContextButtons([]); - // useTabs().refreshActiveTab( - // (tab: TabsBase) => - // tab.collection?.id() === sampleDataResourceTokenCollection.id() && - // tab.collection.databaseId === sampleDataResourceTokenCollection.databaseId - // ); - // }, isSelected: () => useSelectedNode .getState()