Skip to content

Commit d601b6e

Browse files
committed
feat(ui-components): add handling for className
1 parent 19fb636 commit d601b6e

File tree

1 file changed

+2
-2
lines changed
  • packages/ui-components/Common/ChangeHistory

1 file changed

+2
-2
lines changed

packages/ui-components/Common/ChangeHistory/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ const ChangeHistory: FC<ChangeHistoryProps> = ({
1717
label = 'History',
1818
changes = [],
1919
align = 'right',
20-
className = '',
20+
className,
2121
'aria-label': ariaLabel = label,
2222
...props
2323
}) => (
24-
<div className={`${styles.changeHistory} ${className}`} {...props}>
24+
<div className={`${styles.changeHistory} ${className ?? ''}`} {...props}>
2525
{changes.length > 0 ? (
2626
<details className="group">
2727
<summary className={styles.summary} role="button" aria-haspopup="menu">

0 commit comments

Comments
 (0)