We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f90a182 + 2fd341d commit 2b6990bCopy full SHA for 2b6990b
2 files changed
app/pages/[...package].vue
@@ -337,7 +337,7 @@ async function copyInstallCommand() {
337
338
// Expandable description
339
const descriptionExpanded = ref(false)
340
-const descriptionRef = ref<HTMLDivElement>()
+const descriptionRef = useTemplateRef('descriptionRef')
341
const descriptionOverflows = ref(false)
342
343
// Check if description overflows on mount/update
app/pages/search.vue
@@ -46,7 +46,7 @@ watch(
46
47
// For glow effect
48
const isSearchFocused = ref(false)
49
-const searchInputRef = ref<HTMLInputElement>()
+const searchInputRef = useTemplateRef('searchInputRef')
50
51
const selectedIndex = ref(0)
52
const packageListRef = useTemplateRef('packageListRef')
0 commit comments