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
File tree
2 files changed
+581
-599
lines changed- src
- components
- hooks
2 files changed
+581
-599
lines changed
0 commit comments