fix: upgrade & downupgrade deps
This commit is contained in:
parent
d7bba4dbc9
commit
7545921385
11 changed files with 991 additions and 798 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue