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