refactor: cleanup imports
This commit is contained in:
parent
e2dc90a889
commit
c7756add7d
10 changed files with 4 additions and 19 deletions
|
@ -1,5 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
import type { Tag } from 'masto'
|
||||
import { STORAGE_KEY_HIDE_EXPLORE_TAGS_TIPS } from '~~/constants'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
@ -12,10 +11,6 @@ const { data, pending, error } = useLazyAsyncData(
|
|||
|
||||
const hideTagsTips = useLocalStorage(STORAGE_KEY_HIDE_EXPLORE_TAGS_TIPS, false)
|
||||
|
||||
function getTagUrl(tag: Tag) {
|
||||
return new URL(tag.url).pathname
|
||||
}
|
||||
|
||||
useHeadFixed({
|
||||
title: () => `${t('tab.hashtags')} | ${t('nav.explore')}`,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue