diff --git a/src/components/Views/Author/Author.tsx b/src/components/Views/Author/Author.tsx index fea33ac5..be271c16 100644 --- a/src/components/Views/Author/Author.tsx +++ b/src/components/Views/Author/Author.tsx @@ -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()