Skip to content

Commit 365ab5d

Browse files
committed
fix(mobile): keep option preview markdown source
1 parent 379fea7 commit 365ab5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/mobile/src/features/threads/PendingUserInputCard.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export function PendingUserInputCard(props: PendingUserInputCardProps) {
305305
const selected = isPendingUserInputOptionSelected(question, draft, optionValue);
306306
const description =
307307
option.description !== option.label ? option.description : undefined;
308-
const preview = option.preview?.trim();
308+
const preview = option.preview?.trim() ? option.preview : undefined;
309309
return (
310310
<View key={optionValue} className="gap-1.5">
311311
<Pressable

0 commit comments

Comments
 (0)