Skip to content

Commit 0caf083

Browse files
committed
test undefined
1 parent cda9da3 commit 0caf083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export const Alert = memo(
156156
{title}
157157
</HtmlTitleTag>
158158
)}
159-
{description && (
159+
{description !== undefined && (
160160
<DescriptionTag className={classes.description}>{description}</DescriptionTag>
161161
)}
162162
{isClosableByUser && (

0 commit comments

Comments
 (0)