We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 307df91 + 7a0b7f7 commit 316bdc4Copy full SHA for 316bdc4
src/components/do-dont-list/DoDontList.tsx
@@ -27,7 +27,7 @@ const DoDontList: DoDontList = ({
27
}) => (
28
<div className={classNames('nhsuk-do-dont-list', className)} {...rest}>
29
<HeadingLevel className="nhsuk-do-dont-list__label" headingLevel={headingLevel}>
30
- {heading || listType === 'do' ? 'Do' : "Don't"}
+ {heading || (listType === 'do' ? 'Do' : "Don't")}
31
</HeadingLevel>
32
<ul
33
className={classNames(
0 commit comments