From 4e7cfa924118e27398e0cc03c667a167dd161715 Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 24 May 2024 18:07:27 +0300 Subject: [PATCH] profile-fixes --- src/components/Views/Author/Author.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Views/Author/Author.tsx b/src/components/Views/Author/Author.tsx index b8414e40..905f3fc9 100644 --- a/src/components/Views/Author/Author.tsx +++ b/src/components/Views/Author/Author.tsx @@ -67,7 +67,7 @@ export const AuthorView = (props: Props) => { const { authors, profile, topics } = appdata setFollowers(myFollowers) setAuthor(profile) - setFollowing([...authors, ...topics]) + setFollowing([...(authors || []), ...(topics || [])]) } } }) @@ -260,7 +260,9 @@ export const AuthorView = (props: Props) => { - +