refactor(shortcuts): update directive to use new shortcut module

Change import in the v-shortcut directive from @github/hotkey to the
new @/helpers/shortcut module. The install/uninstall API is identical.
This commit is contained in:
kolaente
2026-02-26 23:39:21 +01:00
parent 61c1d9332d
commit 8dc6e77ba0

View File

@@ -1,5 +1,5 @@
import type {Directive} from 'vue'
import {install, uninstall} from '@github/hotkey'
import {install, uninstall} from '@/helpers/shortcut'
const directive = <Directive<HTMLElement,string>>{
mounted(el, {value}) {