From cda9da38eceb86fc3dc9cb0d7e61fc06c027859f Mon Sep 17 00:00:00 2001 From: Patrick Nguyen Date: Wed, 5 Nov 2025 15:48:15 +0100 Subject: [PATCH 1/2] chore: removing DescriptionTag if description not provided --- src/Alert.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Alert.tsx b/src/Alert.tsx index 0692cd4c..5815cb72 100644 --- a/src/Alert.tsx +++ b/src/Alert.tsx @@ -156,7 +156,9 @@ export const Alert = memo( {title} )} - {description} + {description && ( + {description} + )} {isClosableByUser && (