This commit is contained in:
parent
340d984045
commit
5f0ab7d870
|
@ -78,7 +78,8 @@ export const AuthorView = (props: Props) => {
|
|||
|
||||
onMount(async () => {
|
||||
checkBioHeight()
|
||||
|
||||
const slug = props.authorSlug || props.author.slug || author().slug
|
||||
await loadAuthor({ slug })
|
||||
// pagination
|
||||
if (sortedArticles().length === PRERENDERED_ARTICLES_COUNT) {
|
||||
await loadMore()
|
||||
|
|
Loading…
Reference in New Issue
Block a user