Merge pull request #485 from Discours/hotfix/sv-author-empty
Author Profile when logged in infinity load resolve bugFix
This commit is contained in:
commit
545728ac84
|
@ -76,6 +76,7 @@ export const AuthorView = (props: AuthorViewProps) => {
|
||||||
setFollowers(myFollowers() || [])
|
setFollowers(myFollowers() || [])
|
||||||
setFollowersLoaded(true)
|
setFollowersLoaded(true)
|
||||||
changeFollowing([...(myFollows?.topics || []), ...(myFollows?.authors || [])])
|
changeFollowing([...(myFollows?.topics || []), ...(myFollows?.authors || [])])
|
||||||
|
setFollowingsLoaded(true)
|
||||||
} else if (slug && !author()) {
|
} else if (slug && !author()) {
|
||||||
await loadAuthor({ slug })
|
await loadAuthor({ slug })
|
||||||
const foundAuthor = authorsEntities()[slug]
|
const foundAuthor = authorsEntities()[slug]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user