Merge pull request #485 from Discours/hotfix/sv-author-empty

Author Profile when logged in infinity load resolve bugFix
This commit is contained in:
Tony 2024-09-23 14:17:46 +03:00 committed by GitHub
commit 545728ac84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,6 +76,7 @@ export const AuthorView = (props: AuthorViewProps) => {
setFollowers(myFollowers() || [])
setFollowersLoaded(true)
changeFollowing([...(myFollows?.topics || []), ...(myFollows?.authors || [])])
setFollowingsLoaded(true)
} else if (slug && !author()) {
await loadAuthor({ slug })
const foundAuthor = authorsEntities()[slug]