We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e62f57e commit 1726f58Copy full SHA for 1726f58
src/useTock.ts
@@ -73,7 +73,7 @@ function mapCard(card: any): Card {
73
title: card.title,
74
subTitle: card.subTitle,
75
imageUrl: card.file?.url,
76
- imageAlternative: card?.file.description ?? card.title,
+ imageAlternative: card?.file?.description ?? card.title,
77
buttons: card.buttons.map((button: any) => mapButton(button)),
78
type: MessageType.card,
79
} as Card;
0 commit comments