load-author-hotfix
This commit is contained in:
parent
132418d539
commit
96c52ae2b4
|
@ -58,9 +58,9 @@ export const AuthorView = (props: Props) => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
createEffect(() => {
|
createEffect(async () => {
|
||||||
if (author()?.id && !author().stat) {
|
if (author()?.id && !author().stat) {
|
||||||
const a = loadAuthor({ slug: '', author_id: author().id })
|
const a = await loadAuthor({ slug: '', author_id: author().id })
|
||||||
console.debug('[AuthorView] loaded author:', a)
|
console.debug('[AuthorView] loaded author:', a)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user