diff --git a/apps/client/@/shadcn/components/app-sidebar.tsx b/apps/client/@/shadcn/components/app-sidebar.tsx index 77a084646..9e2dd4577 100644 --- a/apps/client/@/shadcn/components/app-sidebar.tsx +++ b/apps/client/@/shadcn/components/app-sidebar.tsx @@ -99,12 +99,12 @@ export function AppSidebar({ ...props }: React.ComponentProps) { function handleKeyPress(event: any) { const pathname = location.pathname; - + // Check for Ctrl or Meta key to bypass the shortcut handler if (event.ctrlKey || event.metaKey) { return; // Don't override browser shortcuts } - + if ( document.activeElement!.tagName !== "INPUT" && document.activeElement!.tagName !== "TEXTAREA" && @@ -153,7 +153,6 @@ export function AppSidebar({ ...props }: React.ComponentProps) { }; }, [handleKeyPress, location]); - return (