diff --git a/src/runtime/composables/defineShortcuts.ts b/src/runtime/composables/defineShortcuts.ts index d990e7b6..9ba03bb3 100644 --- a/src/runtime/composables/defineShortcuts.ts +++ b/src/runtime/composables/defineShortcuts.ts @@ -202,5 +202,5 @@ export function defineShortcuts(config: MaybeRef, options: Shor }).filter(Boolean) as Shortcut[] }) - useEventListener('keydown', onKeyDown) + return useEventListener('keydown', onKeyDown) }