From e666751dede30f7715eba65b49a62cf02bb3a358 Mon Sep 17 00:00:00 2001 From: Qortal Seth Date: Thu, 28 Mar 2024 13:58:37 -0600 Subject: [PATCH] Fixed bug that prevented Following a name working in FollowButton.tsx --- src/components/common/ContentButtons/FollowButton.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/common/ContentButtons/FollowButton.tsx b/src/components/common/ContentButtons/FollowButton.tsx index 5739d3d..06bf61b 100644 --- a/src/components/common/ContentButtons/FollowButton.tsx +++ b/src/components/common/ContentButtons/FollowButton.tsx @@ -33,9 +33,9 @@ export const FollowButton = ({ followerName, ...props }: FollowButtonProps) => { const followName = () => { if (followingList.includes(followerName) === false) { qortalRequest({ - action: "ADD_LIST_ITEM", + action: "ADD_LIST_ITEMS", list_name: "followedNames", - item: followerName, + items: [followerName], }).then(response => { if (response === false) console.log("followName failed"); else {