Skip to content

Commit 316bdc4

Browse files
committed
Merge branch 'master' of github.com:NHSDigital/nhsuk-react-components
2 parents 307df91 + 7a0b7f7 commit 316bdc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/do-dont-list/DoDontList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const DoDontList: DoDontList = ({
2727
}) => (
2828
<div className={classNames('nhsuk-do-dont-list', className)} {...rest}>
2929
<HeadingLevel className="nhsuk-do-dont-list__label" headingLevel={headingLevel}>
30-
{heading || listType === 'do' ? 'Do' : "Don't"}
30+
{heading || (listType === 'do' ? 'Do' : "Don't")}
3131
</HeadingLevel>
3232
<ul
3333
className={classNames(

0 commit comments

Comments
 (0)