Fixed scoped hotkeys (#6322)

- Removed enabled props from useScopedHotkeys becayse it doesn't work
- Moved enter useScopedHotkeys in a handler that we drill down to the
text inputs on the settings form

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Lucas Bordeau
2024-07-19 19:25:12 +02:00
committed by GitHub
parent de20c564c7
commit b64e8096d6
7 changed files with 123 additions and 66 deletions

View File

@ -68,9 +68,6 @@ export const RecordTableCellSoftFocusMode = ({
},
TableHotkeyScope.TableSoftFocus,
[clearField, isFieldClearable, isFieldInputOnly],
{
enabled: !isFieldInputOnly,
},
);
useScopedHotkeys(