profile-fix

This commit is contained in:
Untone 2024-04-17 19:26:26 +03:00
parent 0f28fe891a
commit 36970c03c4

View File

@ -64,7 +64,7 @@ export const AuthorView = (props: Props) => {
const appdata = session()?.user.app_data const appdata = session()?.user.app_data
if (appdata) { if (appdata) {
console.info('preloaded my own profile') console.info('preloaded my own profile')
const { authors, followers, topics } = appdata const { authors, profile, topics } = appdata
setFollowers(myFollowers) setFollowers(myFollowers)
setAuthor(profile) setAuthor(profile)
setFollowing([...authors, ...topics]) setFollowing([...authors, ...topics])