fix naming error

This commit is contained in:
Anthony Fu 2022-11-30 15:11:26 +08:00
parent 2becb254b4
commit 1795bb84b6

View file

@ -4,7 +4,7 @@ const accountName = $(computedEager(() => toShortHandle(params.account as string
const { t } = useI18n()
const { data: account, refresh } = $(await useAsyncData(() => fetchAccountByName(accountName).catch(() => null)))
const { data: account, refresh } = $(await useAsyncData(() => fetchAccountByHandle(accountName).catch(() => null)))
if (account) {
useHeadFixed({