refactor(useCommandPaletteHotkeys): read selectedPaletteIndex from store, drop prop (P2-44)
Remove dual-source: option no longer takes selectedPaletteIndex; all reads go through useAppStore.getState().selectedPaletteIndex inside the keydown handler.
This commit is contained in:
1 parent
2bed06ca64
commit
8dbd0867b0
2 files changed
+5
-7
No files matched your search
@@ -110,7 +110,6 @@ export function App() {
|
||||
setCommandPaletteSearch: ui.setCommandPaletteSearch,
|
||||
setSelectedPaletteIndex: ui.setSelectedPaletteIndex,
|
||||
paletteActions,
|
||||
selectedPaletteIndex: ui.selectedPaletteIndex,
|
||||
navigateTo,
|
||||
commandPaletteSearch: ui.commandPaletteSearch,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user