Merge pull request #360 from msiqu/patch-1
fix follow button link for non-english languages
This commit is contained in:
commit
3ada298d53
|
@ -631,7 +631,8 @@ exports.authorView = ({
|
|||
relationship.following === true &&
|
||||
relationship.blocking === false;
|
||||
|
||||
const contactFormType = areFollowing ? i18n.unfollow : i18n.follow;
|
||||
const contactFormType = areFollowing ? "unfollow" : "follow";
|
||||
const contactFormTypeLabel = i18n[contactFormType];
|
||||
|
||||
const contactForm =
|
||||
relationship === null
|
||||
|
@ -645,7 +646,7 @@ exports.authorView = ({
|
|||
{
|
||||
type: "submit",
|
||||
},
|
||||
contactFormType
|
||||
contactFormTypeLabel
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue