refactor: remove useHeadFixed
workaround (#1938)
Co-authored-by: Ayaka Rizumu <464388324@qq.com>
This commit is contained in:
parent
60a37e0bf8
commit
ab2881b9a2
40 changed files with 39 additions and 65 deletions
|
@ -10,7 +10,7 @@ const account = await fetchAccountByHandle(handle)
|
|||
const paginator = useMastoClient().v1.accounts.listStatuses(account.id, { onlyMedia: true, excludeReplies: false })
|
||||
|
||||
if (account) {
|
||||
useHeadFixed({
|
||||
useHead({
|
||||
title: () => `${t('tab.media')} | ${getDisplayName(account)} (@${account.acct})`,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue