Skip to content

Commit 62afd92

Browse files
authored
fix: linting error (#1151)
1 parent 041c577 commit 62afd92

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/variant-select.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,14 @@ const VariantMenu = ({title, latest, current, prerelease, legacy}) => {
4040
</ActionMenu.Button>
4141
<ActionMenu.Overlay width="auto" onEscape={() => setOpen(false)}>
4242
<ActionList aria-labelledby={labelId}>
43-
<ActionList.Group title="Current">
43+
<ActionList.Group>
44+
<ActionList.GroupHeading>Current</ActionList.GroupHeading>
4445
<VariantItem {...latest} />
4546
{current && <VariantItem {...current} />}
4647
{prerelease && <VariantItem {...prerelease} />}
4748
</ActionList.Group>
48-
<ActionList.Group title="Legacy">
49+
<ActionList.Group>
50+
<ActionList.GroupHeading>Legacy</ActionList.GroupHeading>
4951
{legacy.map(item => (
5052
<VariantItem key={item.title} {...item} />
5153
))}

0 commit comments

Comments
 (0)