Skip to content

Commit e1abd9c

Browse files
committed
refactor: extract command registry logic to useCommandRegistry hook
- Moved command handling logic from CommandPalette.jsx to new hook useCommandRegistry.js - Memoized command definitions - Simplified CommandPalette component - Removed massive switch statement
1 parent 0decde3 commit e1abd9c

2 files changed

Lines changed: 581 additions & 599 deletions

File tree

0 commit comments

Comments
 (0)