Skip to content

Commit 3f03145

Browse files
committed
prefer useTemplateRef
1 parent df43725 commit 3f03145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/AppFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const route = useRoute()
77
const isHome = computed(() => route.name === 'index')
88
99
const triggerRef = ref<HTMLElement | null>(null)
10-
const popoverRef = ref<HTMLElement | null>(null)
10+
const popoverRef = useTemplateRef<HTMLElement>('popoverRef')
1111
const showPopover = ref(false)
1212
1313
const togglePopover = (e?: Event) => {

0 commit comments

Comments
 (0)