From 1795bb84b63a6c14284d443687ba5fb0ec0ab414 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Wed, 30 Nov 2022 15:11:26 +0800 Subject: [PATCH] fix naming error --- pages/@[account]/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/@[account]/index.vue b/pages/@[account]/index.vue index c2315fa8..4f06d903 100644 --- a/pages/@[account]/index.vue +++ b/pages/@[account]/index.vue @@ -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({