Skip to content

Commit 8d4714f

Browse files
committed
with commented fun back in
1 parent fb17a76 commit 8d4714f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

app/src/components/left/Sidebar.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,17 @@ const Sidebar: React.FC<SidebarProps> = ({
2323
oldValue = newValue;
2424
};
2525

26+
//the following allows users to click on the left panel to expand and collapse.
27+
// We decided to freeze so we've commented this and line 41 out
28+
29+
30+
// const handleTabClick = (event: React.MouseEvent, oldValue: number) => {
31+
// if (activeTab === oldValue) {
32+
// setActiveTab(null);
33+
// // toggleVisibility(false);
34+
// }
35+
// };
36+
2637
return (
2738
<Tabs
2839
key={activeTab}

0 commit comments

Comments
 (0)