Fix hook bug (#2995)

* Fix hook bug

* Fix

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Lucas Bordeau
2023-12-14 18:54:23 +01:00
committed by GitHub
parent 7f3d5e0e82
commit 468744298b
12 changed files with 170 additions and 248 deletions

View File

@ -228,7 +228,7 @@ export const CommandMenu = () => {
<StyledInnerList>
<SelectableList
selectableListId="command-menu-list"
selectableItemIds={[selectableItemIds]}
selectableItemIdArray={selectableItemIds}
hotkeyScope={AppHotkeyScope.CommandMenu}
onEnter={(itemId) => {
const command = [