This commit is contained in:
Untone 2024-08-22 15:56:12 +03:00
parent b80a497e4d
commit 17750a7630

View File

@ -41,7 +41,7 @@ export default function AllAuthorsPage(props: RouteSectionProps<AllAuthorsData>)
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