fix: defer loading text and server links until hydration (#926)
This commit is contained in:
parent
c92fd7939e
commit
f04d7ac067
14 changed files with 25 additions and 23 deletions
|
@ -10,12 +10,12 @@ const tabs = $computed(() => [
|
|||
{
|
||||
name: 'all',
|
||||
to: '/notifications',
|
||||
display: t('tab.notifications_all'),
|
||||
display: isHydrated.value ? t('tab.notifications_all') : '',
|
||||
},
|
||||
{
|
||||
name: 'mention',
|
||||
to: '/notifications/mention',
|
||||
display: t('tab.notifications_mention'),
|
||||
display: isHydrated.value ? t('tab.notifications_mention') : '',
|
||||
},
|
||||
] as const)
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue