Skip to content

Commit

Permalink
Merge 6e24806 into 732e67a
Browse files Browse the repository at this point in the history
  • Loading branch information
broccolinisoup committed May 21, 2024
2 parents 732e67a + 6e24806 commit 87fd1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/NavList/NavList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ const Group: React.FC<NavListGroupProps> = ({title, children, sx: sxProp = defau
<ActionList.Divider sx={{'&:first-child': {display: 'none'}}} />
<ActionList.Group {...props} sx={sxProp}>
{/* Setting up the default value for the heading level. TODO: API update to give flexibility to NavList.Group title's heading level */}
<ActionList.GroupHeading as="h3">{title}</ActionList.GroupHeading>
{title ? <ActionList.GroupHeading as="h3">{title}</ActionList.GroupHeading> : null}
{children}
</ActionList.Group>
</>
Expand Down

0 comments on commit 87fd1c9

Please sign in to comment.