fix: upgrade & downupgrade deps

This commit is contained in:
三咲智子 Kevin Deng 2023-01-25 02:52:48 +08:00
parent d7bba4dbc9
commit 7545921385
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
11 changed files with 991 additions and 798 deletions

View file

@ -1,7 +1,9 @@
<script setup lang="ts">
import type { CommonRouteTabOption } from '~/components/common/CommonRouteTabs.vue'
const { t } = useI18n()
const tabs = $computed(() => [
const tabs = $computed<CommonRouteTabOption[]>(() => [
{
to: isHydrated.value ? `/${currentServer.value}/explore` : '/explore',
display: isHydrated.value ? t('tab.posts') : '',
@ -20,7 +22,7 @@ const tabs = $computed(() => [
display: isHydrated.value ? t('tab.for_you') : '',
disabled: !isHydrated.value || !currentUser.value,
},
] as const)
])
</script>
<template>