revert: "feat: display i18n text on SSR"

This reverts commit cafc995dde.
This commit is contained in:
三咲智子 Kevin Deng 2023-01-13 02:35:26 +08:00
parent e9dccc9ef5
commit a41a31732b
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
4 changed files with 11 additions and 10 deletions

View file

@ -66,7 +66,7 @@ const noUserVisual = computed(() => isMastoInitialised.value && props.userOnly &
<div :class="icon" text-xl />
</slot>
<slot>
<span block sm:hidden xl:block>{{ text }}</span>
<span block sm:hidden xl:block>{{ isHydrated ? text : '&nbsp;' }}</span>
</slot>
</div>
</CommonTooltip>