From 17750a763078984bcbcb7c649a0c3e40ae3ba3aa Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 22 Aug 2024 15:56:12 +0300 Subject: [PATCH] fixd --- src/routes/author/(all-authors).tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/author/(all-authors).tsx b/src/routes/author/(all-authors).tsx index b861f755..739cd092 100644 --- a/src/routes/author/(all-authors).tsx +++ b/src/routes/author/(all-authors).tsx @@ -41,7 +41,7 @@ export default function AllAuthorsPage(props: RouteSectionProps) if (props.data) return props.data const authorsAllFetcher = loadAuthorsAll() return { - authors: authorsSorted() || await authorsAllFetcher(), + authors: authorsSorted() || (await authorsAllFetcher()), authorsByFollowers: await fetchAuthorsWithStat(10, 'followers'), authorsByShouts: await fetchAuthorsWithStat(10, 'shouts') } as AllAuthorsData