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