refactor: cleanup imports

This commit is contained in:
三咲智子 2023-01-07 02:50:31 +08:00
parent e2dc90a889
commit c7756add7d
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
10 changed files with 4 additions and 19 deletions

View file

@ -1,5 +1,4 @@
<script setup lang="ts">
import type { Account } from 'masto'
import AccountTabs from '~/components/account/AccountTabs.vue'
const params = useRoute().params

View file

@ -1,6 +1,4 @@
<script setup lang="ts">
import type { Account } from 'masto'
definePageMeta({ name: 'account-media' })
const { t } = useI18n()

View file

@ -1,6 +1,4 @@
<script setup lang="ts">
import type { Account } from 'masto'
definePageMeta({ name: 'account-replies' })
const { t } = useI18n()

View file

@ -1,6 +1,4 @@
<script setup lang="ts">
import { invoke } from '@vueuse/shared'
const { t } = useI18n()
const tabs = $computed(() => [

View file

@ -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')}`,
})