This commit is contained in:
Untone 2024-09-24 12:19:40 +03:00
commit a451a6bf4e

View File

@ -73,6 +73,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]