mirror of
https://github.com/Qortal/q-tube.git
synced 2025-02-11 17:55:51 +00:00
Merge pull request #24 from QortalSeth/main
Fixed bug that prevented Following a name working in FollowButton.tsx
This commit is contained in:
commit
6fc4f00dc2
@ -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…
x
Reference in New Issue
Block a user