chore: remove `onKeyStroke`

userquin/feat-add-inert-content-again
userquin 2 years ago
parent 3295cde30d
commit be0cb98862

@ -1,5 +1,4 @@
<script setup lang="ts">
import { onKeyStroke } from '@vueuse/core'
import { onContentUpdated } from 'vitepress'
import { nextTick, ref } from 'vue'
import { useData } from '../composables/data'
@ -32,10 +31,6 @@ const { activate, deactivate } = useFocusTrap(items, {
const vh = ref(0)
onKeyStroke('Escape', () => {
deactivate()
})
onContentUpdated(deactivate)
function toggle() {

Loading…
Cancel
Save