feat: display i18n text on SSR
This commit is contained in:
parent
9a41b9b7d7
commit
cafc995dde
4 changed files with 10 additions and 11 deletions
|
@ -10,12 +10,12 @@ const tabs = $computed(() => [
|
|||
{
|
||||
name: 'all',
|
||||
to: '/notifications',
|
||||
display: isHydrated.value ? t('tab.notifications_all') : '',
|
||||
display: t('tab.notifications_all'),
|
||||
},
|
||||
{
|
||||
name: 'mention',
|
||||
to: '/notifications/mention',
|
||||
display: isHydrated.value ? t('tab.notifications_mention') : '',
|
||||
display: t('tab.notifications_mention'),
|
||||
},
|
||||
] as const)
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue