Skip to content

Commit

Permalink
only show x on alert.showCloseLink
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchristina committed Jan 11, 2025
1 parent 2b69061 commit a4c6f2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const Alert: FC = () => {
key={value}
circledCloseButton
showXOnHover
onClose={alert.showCloseLink ? onClose : undefined}
>
<div
data-testid='alert-content'
Expand Down

0 comments on commit a4c6f2b

Please sign in to comment.