Skip to content

Commit

Permalink
fix: Don’t render a Description List class for an undefined value (#1705
Browse files Browse the repository at this point in the history
)
  • Loading branch information
VincentSmedinga authored Oct 28, 2024
1 parent ee4cee0 commit 63c1fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/DescriptionList/DescriptionList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const DescriptionListRoot = forwardRef(
ref={ref}
className={clsx(
'ams-description-list',
`ams-description-list--terms-width-${termsWidth}`,
termsWidth && `ams-description-list--terms-width-${termsWidth}`,
inverseColor && 'ams-description-list--inverse-color',
className,
)}
Expand Down

0 comments on commit 63c1fed

Please sign in to comment.