From fa32fe192ec63bef5bbf43a0168bd14f9f16130a Mon Sep 17 00:00:00 2001 From: maria-rcks Date: Sat, 5 Sep 2026 04:58:11 +0000 Subject: [PATCH] fix(web): hide sidebar search shortcut on mobile --- 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 650ad12bebcb..c6c7ef79c75e 100644 --- a/apps/web/src/components/LegacySidebar.tsx +++ b/apps/web/src/components/LegacySidebar.tsx @@ -3598,11 +3598,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;