Skip to content

Commit

Permalink
Modify the followed button text
Browse files Browse the repository at this point in the history
  • Loading branch information
fenglish committed Jan 24, 2019
1 parent 68b94d2 commit d630d9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/x-follow-button/src/FollowButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const FollowButton = (props) => {
return conceptName;
}

return isFollowed ? `Remove from myFT` : `Add to myFT`;
return isFollowed ? `Added` : `Add to myFT`;
};

const getAccessibleText = () => isFollowed ? `Remove ${conceptName} from myFT` : `Add ${conceptName} to myFT`;
Expand Down

0 comments on commit d630d9c

Please sign in to comment.