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 -}