Skip to content

Commit 7a972ab

Browse files
authored
Merge pull request #9127 from github/repo-sync
repo sync
2 parents 77b82db + 87ad5dd commit 7a972ab

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

components/release-notes/PatchNotes.tsx

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,19 +73,15 @@ export function PatchNotes({ patch, withReleaseNoteLabel }: Props) {
7373
{item.heading}
7474
</Link>
7575
</h4>
76-
<li className={!withReleaseNoteLabel ? 'list-style-none' : ''}>
77-
<ul className={cx(styles.releaseNotesList, 'pl-0 pb-4 mt-2')}>
78-
{item.notes.map((note) => {
79-
return (
80-
<li
81-
key={note}
82-
className="list-style-none f4"
83-
dangerouslySetInnerHTML={{ __html: note }}
84-
/>
85-
)
86-
})}
87-
</ul>
88-
</li>
76+
{item.notes.map((note) => {
77+
return (
78+
<li
79+
key={note}
80+
className={cx(!withReleaseNoteLabel && 'list-style-none', 'f4')}
81+
dangerouslySetInnerHTML={{ __html: note }}
82+
/>
83+
)
84+
})}
8985
</Fragment>
9086
)
9187
})}

0 commit comments

Comments
 (0)