diff --git a/src/web/src/components/header.jsx b/src/web/src/components/header.jsx
index 8646194..ff1b616 100644
--- a/src/web/src/components/header.jsx
+++ b/src/web/src/components/header.jsx
@@ -98,55 +98,70 @@ function TabMenu({ tabs, activeTab, setActiveTab }) {
);
}
-// CollapsibleTab component
-function CollapsibleTab({ tab }) {
+function CollapsibleTab({ tab, onClick }) {
+ const handleClick = () => {
+ onClick(); // Close the menu when a tab is clicked
+ // You can add additional functionality here if needed
+ // For example: console.log(`Clicked ${tab.label}`);
+ };
+
return (
-