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
|
if (props.data) return props.data
|
||||||
const authorsAllFetcher = loadAuthorsAll()
|
const authorsAllFetcher = loadAuthorsAll()
|
||||||
return {
|
return {
|
||||||
authors: authorsSorted() || await authorsAllFetcher(),
|
authors: authorsSorted() || (await authorsAllFetcher()),
|
||||||
authorsByFollowers: await fetchAuthorsWithStat(10, 'followers'),
|
authorsByFollowers: await fetchAuthorsWithStat(10, 'followers'),
|
||||||
authorsByShouts: await fetchAuthorsWithStat(10, 'shouts')
|
authorsByShouts: await fetchAuthorsWithStat(10, 'shouts')
|
||||||
} as AllAuthorsData
|
} as AllAuthorsData
|
||||||
|
|
Loading…
Reference in New Issue
Block a user