From 942323f81cf1d13ebe25148222caeabcd87b5597 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 10 Nov 2023 18:43:16 +0530 Subject: [PATCH] fix: app sidebar dropdown fix (#2751) --- web/components/workspace/sidebar-dropdown.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/web/components/workspace/sidebar-dropdown.tsx b/web/components/workspace/sidebar-dropdown.tsx index faa301eaa..dfa45d9bf 100644 --- a/web/components/workspace/sidebar-dropdown.tsx +++ b/web/components/workspace/sidebar-dropdown.tsx @@ -219,11 +219,12 @@ export const WorkspaceSidebarDropdown = observer(() => { { + router.push(link.href); + }} + className="flex w-full items-center cursor-pointer justify-start rounded px-2 py-1 text-sm text-custom-sidebar-text-200 hover:bg-custom-sidebar-background-80" > - - {link.name} - + {link.name} ))}