Skip to content

Commit 1c7a680

Browse files
committed
fix: add missing useI18n import in DownloadButton
1 parent ba7281d commit 1c7a680

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/components/Package/DownloadButton.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const isOpen = shallowRef(false)
2020
const highlightedIndex = shallowRef(-1)
2121
const dropdownPosition = shallowRef<{ top: number; left: number } | null>(null)
2222
23+
const { t } = useI18n()
2324
const menuId = 'download-menu'
2425
const menuItems = computed(() => {
2526
const items = [{ id: 'package', label: t('package.download.package'), icon: 'i-lucide:package' }]

0 commit comments

Comments
 (0)