fix author view
This commit is contained in:
parent
ac39230271
commit
b3155c4535
|
@ -112,6 +112,7 @@ export const AuthorView = (props: Props) => {
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
if (!modal) hideModal()
|
if (!modal) hideModal()
|
||||||
|
fetchData(props.authorSlug)
|
||||||
checkBioHeight()
|
checkBioHeight()
|
||||||
loadMore()
|
loadMore()
|
||||||
})
|
})
|
||||||
|
@ -131,8 +132,8 @@ export const AuthorView = (props: Props) => {
|
||||||
createEffect(
|
createEffect(
|
||||||
on(
|
on(
|
||||||
() => authorSlug(),
|
() => authorSlug(),
|
||||||
(slug) => {
|
() => {
|
||||||
fetchData(slug)
|
fetchData(authorSlug())
|
||||||
fetchComments(author())
|
fetchComments(author())
|
||||||
},
|
},
|
||||||
{ defer: true },
|
{ defer: true },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user