fixd
This commit is contained in:
parent
b80a497e4d
commit
17750a7630
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user