mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 03:55:38 -04:00
Remove react-hotkeys-hook, KeyboardProvider context, useRegisterShortcut wrapper, and KeyboardHelpDialog component. Components now call TanStack useHotkey/useHotkeySequence directly. Shared state uses jotai atoms in lib/atoms/, shortcut metadata lives as a static const in lib/constants/. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
5 lines
123 B
TypeScript
5 lines
123 B
TypeScript
import { atom } from "jotai";
|
|
|
|
export const commandPaletteOpenAtom = atom(false);
|
|
export const helpOpenAtom = atom(false);
|