fix: defer loading text and server links until hydration (#926)

This commit is contained in:
Daniel Roe 2023-01-11 14:50:47 +00:00 committed by GitHub
parent c92fd7939e
commit f04d7ac067
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 25 additions and 23 deletions

View file

@ -8,7 +8,7 @@ const paginator = useMasto().v1.trends.listStatuses()
const hideNewsTips = useLocalStorage(STORAGE_KEY_HIDE_EXPLORE_POSTS_TIPS, false)
useHeadFixed({
title: () => `${t('tab.posts')} | ${t('nav.explore')}`,
title: () => isHydrated.value ? `${t('tab.posts')} | ${t('nav.explore')}` : '',
})
</script>