mirror of https://github.com/elk-zone/elk.git
fix naming error
This commit is contained in:
parent
2becb254b4
commit
1795bb84b6
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue