From 8d3c56b487810455f7b695d1b849b4370b132d03 Mon Sep 17 00:00:00 2001 From: maria Date: Sat, 5 Sep 2026 14:43:25 -0400 Subject: [PATCH] fix(web): hide sidebar search shortcut on mobile (#9932) --- apps/web/src/components/LegacySidebar.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/web/src/components/LegacySidebar.tsx b/apps/web/src/components/LegacySidebar.tsx index a3a07839f8372556930dd286d9c37d78c9f05a10..872fa1e4ec60d0a71750c1012857b030bea6f3c4 100644 --- a/apps/web/src/components/LegacySidebar.tsx +++ b/apps/web/src/components/LegacySidebar.tsx @@ -3610,11 +3610,9 @@ export default function LegacySidebar() { desktopUpdateState && showArm64IntelBuildWarning ? getArm64IntelBuildWarningDescription(desktopUpdateState) : null; - const commandPaletteShortcutLabel = shortcutLabelForCommand( - keybindings, - "commandPalette.toggle", - newThreadShortcutLabelOptions, - ); + const commandPaletteShortcutLabel = isMobile + ? null + : shortcutLabelForCommand(keybindings, "commandPalette.toggle", newThreadShortcutLabelOptions); const handleDesktopUpdateButtonClick = useCallback(async () => { const bridge = window.desktopBridge; if (!bridge || !desktopUpdateState) return; -- 2.54.0