From 86cceb00c8bc17bcac8735562e6ef53c83c7d35a Mon Sep 17 00:00:00 2001 From: Jonghyeon Ko Date: Mon, 23 Nov 2026 03:43:14 +0900 Subject: [PATCH] Remove unused HotkeysShortcut component --- knip.jsonc | 1 - src/components/landing/HotkeysShortcut.client.tsx | 15 --------------- 2 files changed, 16 deletions(-) delete mode 100644 src/components/landing/HotkeysShortcut.client.tsx diff --git a/knip.jsonc b/knip.jsonc index cf1229bd9..845ad0c7b 100644 --- a/knip.jsonc +++ b/knip.jsonc @@ -53,7 +53,6 @@ "src/components/game/ui/DiscoveryProgress.tsx", "src/components/icons/BaseballCapIcon.tsx", "src/components/icons/YinYangIcon.tsx", - "src/components/landing/HotkeysShortcut.client.tsx", "src/components/landing/LandingCodeExampleCard.tsx", "src/components/landing/codeExamples.ts", "src/components/npm-stats/index.ts", diff --git a/src/components/landing/HotkeysShortcut.client.tsx b/src/components/landing/HotkeysShortcut.client.tsx deleted file mode 100644 index 522cad65f..000000000 --- a/src/components/landing/HotkeysShortcut.client.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import { useHotkey } from '@tanstack/react-hotkeys' -import { useNavigate } from '@tanstack/react-router' - -export function HotkeysShortcutBinding() { - const navigate = useNavigate() - - useHotkey('Mod+Enter', () => { - navigate({ - to: '/$libraryId/$version/docs', - params: { libraryId: 'hotkeys', version: 'latest' }, - }) - }) - - return null -}