Skip to content

Commit

Permalink
Remove data-myft-ui to prevent n-myft-ui generic button handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Searle committed Nov 21, 2018
1 parent 73f8953 commit 589647d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion __tests__/__snapshots__/snapshots.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ exports[`@financial-times/x-follow-button renders a default Follow Button x-foll
<form
action="/__myft/api/core/follow-plus-digest-email/00000-0000-00000-00000?method=put"
data-concept-id="00000-0000-00000-00000"
data-myft-ui="follow"
data-myft-ui-variant={true}
method="GET"
onSubmit={[Function]}
Expand Down
1 change: 0 additions & 1 deletion components/x-follow-button/src/FollowButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ const BaseFollowButton = ({
}) => (
<form
method="GET"
// data-myft-ui="follow"
data-concept-id={conceptId}
action={ getFormAction(conceptId, followPlusDigestEmail, isSelected) }
onSubmit={event => {
Expand Down

0 comments on commit 589647d

Please sign in to comment.