Commit e1abd9c
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 statement1 parent 0decde3 commit e1abd9c
2 files changed
Lines changed: 581 additions & 599 deletions
0 commit comments