Skip to content

Commit 5f8b3f3

Browse files
committed
fix: handle empty/nullable description
1 parent 646c75e commit 5f8b3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/blinks/src/ui/layouts/BaseBlinkLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export const BaseBlinkLayout = ({
268268
{title}
269269
</span>
270270
<span className="text-subtext text-text-secondary mb-4 break-words">
271-
<SimpleMarkdown text={description} />
271+
{description && <SimpleMarkdown text={description} />}
272272
</span>
273273
{!supportability.isSupported ? (
274274
<NotSupportedBlock message={supportability.message} />

0 commit comments

Comments
 (0)