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:
parent
61c1d9332d
commit
8dc6e77ba0
|
|
@ -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}) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue