From 8bdc533b0ba0a446d6c3c384753430167b37f92d Mon Sep 17 00:00:00 2001 From: saeed0920 Date: Wed, 17 Sep 2025 12:22:11 +0330 Subject: [PATCH] fix the bug in sidebar --- app/components/dashboard/sidebar.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/components/dashboard/sidebar.tsx b/app/components/dashboard/sidebar.tsx index 4148e01..75fc0ac 100644 --- a/app/components/dashboard/sidebar.tsx +++ b/app/components/dashboard/sidebar.tsx @@ -208,6 +208,7 @@ export function Sidebar({ const handleClick = () => { if (item.id === "strategic-alignment") { + console.log("test") onStrategicAlignmentClick?.(); } else if (item.id === "logout") { logout(); @@ -223,6 +224,7 @@ export function Sidebar({ className={cn( "flex items-center justify-center w-full px-2 rounded-lg mt-4 transition-all duration-200 group", )} + onClick={handleClick} >