Browse Source

Merge pull request #24 from QortalSeth/main

Fixed bug that prevented Following a name working in FollowButton.tsx
pull/26/head
Qortal Dev 6 months ago committed by GitHub
parent
commit
6fc4f00dc2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      src/components/common/ContentButtons/FollowButton.tsx

4
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 {

Loading…
Cancel
Save