fix: restore delete key functionality for nodes (#191)

This commit is contained in:
guarzo
2025-02-20 02:19:20 -05:00
committed by GitHub
parent ae7f4edf4a
commit 3dd7633194

View File

@@ -114,11 +114,7 @@ export function SystemSignaturesContent({
]); ]);
useHotkey(true, ['a'], handleSelectAll); useHotkey(true, ['a'], handleSelectAll);
useHotkey(false, ['Backspace', 'Delete'], (event: KeyboardEvent) => { useHotkey(false, ['Backspace', 'Delete'], handleDeleteSelected);
event.preventDefault();
event.stopPropagation();
handleDeleteSelected();
});
const [nameColumnWidth, setNameColumnWidth] = useState('auto'); const [nameColumnWidth, setNameColumnWidth] = useState('auto');
const handleResize = useCallback(() => { const handleResize = useCallback(() => {