Skip to content

Commit

Permalink
Merge pull request #414 from comicrelief/fix_eslint_err
Browse files Browse the repository at this point in the history
fix: ESlint err
  • Loading branch information
AndyEPhipps authored Jun 24, 2020
2 parents d586242 + db7b477 commit 6d67e7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class MarketingConsentCheckbox extends Component {
const bgStyle = 'form__field--background';
const checkbox = item.id;
const customMessage = typeof item.customMessage !== 'undefined' ? item.customMessage : null;

return (
<div key={item.id} className={`form__field--wrapper form__field-wrapper--checkbox form__field-wrapper--background form__field-wrapper--${item.text}`}>
<p className="form__fieldset--label" aria-label={`Can we contact you by ${item.text}`}>{item.text}</p>
Expand Down

0 comments on commit 6d67e7e

Please sign in to comment.