refactor: remove useHeadFixed workaround (#1938)

Co-authored-by: Ayaka Rizumu <464388324@qq.com>
This commit is contained in:
Joaquín Sánchez 2023-04-01 13:14:12 +02:00 committed by GitHub
parent 60a37e0bf8
commit ab2881b9a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
40 changed files with 39 additions and 65 deletions

View file

@ -35,7 +35,7 @@ const { client } = $(useMasto())
const { data: listInfo, refresh } = $(await useAsyncData(() => client.v1.lists.fetch(list), { default: () => shallowRef() }))
if (listInfo) {
useHeadFixed({
useHead({
title: () => `${listInfo.title} | ${route.fullPath.endsWith('/accounts') ? t('tab.accounts') : t('tab.posts')} | ${t('nav.lists')}`,
})
}