fix author view

This commit is contained in:
ilya-bkv 2024-04-26 06:13:23 +03:00
parent ac39230271
commit b3155c4535

View File

@ -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 },