chore: cleanup isHydrated (#2614)

Co-authored-by: patak <583075+patak-dev@users.noreply.github.com>
This commit is contained in:
Joaquín Sánchez 2024-02-24 19:24:19 +01:00 committed by GitHub
parent 6b40319723
commit eddbb1eee9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 14 deletions

View file

@ -2,7 +2,7 @@
<div min-h-screen flex justify-center items-center>
<div text-center flex="~ col gap-2" items-center>
<div i-ri:settings-3-line text-5xl />
<span text-xl>{{ isHydrated ? $t('settings.select_a_settings') : '' }}</span>
<span text-xl>{{ $t('settings.select_a_settings') }}</span>
</div>
</div>
</template>

View file

@ -15,16 +15,16 @@ useHydratedHead({
<template #title>
<div text-lg font-bold flex items-center gap-2 @click="$scrollToTop">
<div i-ri:test-tube-line />
<span>{{ isHydrated ? $t('settings.notifications.notifications.label') : '' }}</span>
<span>{{ $t('settings.notifications.notifications.label') }}</span>
</div>
</template>
<div text-center mt-10>
<h1 text-4xl>
<span sr-only>{{ isHydrated ? $t('settings.notifications.under_construction') : '' }}</span>
<span sr-only>{{ $t('settings.notifications.under_construction') }}</span>
🚧
</h1>
<h3 text-xl>
{{ isHydrated ? $t('settings.notifications.notifications.label') : '' }}
{{ $t('settings.notifications.notifications.label') }}
</h3>
</div>
</MainContent>