fixes
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import { OnClickOutside } from '@vueuse/components'
|
||||
import { Haptics, ImpactStyle } from '@capacitor/haptics'
|
||||
|
||||
const vibrate = (event: PointerEvent) => {
|
||||
if (event.target !== document.activeElement) {
|
||||
Haptics.impact({ style: ImpactStyle.Light })
|
||||
}
|
||||
}
|
||||
import { vibrate } from '@/composables/useHaptics'
|
||||
</script>
|
||||
<template>
|
||||
<OnClickOutside>
|
||||
|
||||
Reference in New Issue
Block a user