Skip to content

Commit 050885d

Browse files
committed
perf(tooltip): use shallowRef instead deep ref
1 parent 7faaedd commit 050885d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/AppTooltip.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const props = defineProps<{
66
position?: 'top' | 'bottom' | 'left' | 'right'
77
}>()
88
9-
const isVisible = ref(false)
9+
const isVisible = shallowRef(false)
1010
const tooltipId = useId()
1111
1212
const positionClasses: Record<string, string> = {

0 commit comments

Comments
 (0)