fix(ui): accept staging image hotkey callback

This commit is contained in:
Thomas Mello 2024-01-29 00:51:10 +03:00 committed by psychedelicious
parent c4291f2136
commit 5ae80fab87

View File

@ -74,7 +74,7 @@ const IAICanvasStagingAreaToolbar = () => {
preventDefault: true,
});
useHotkeys(['enter'], () => handleAccept, {
useHotkeys(['enter'], handleAccept, {
enabled: () => true,
preventDefault: true,
});