The best way to control Claude Code, Codex and more from any computer or phone
fix(web): render citations in queued messages (#12403)
maria committed
Sep 20, 2026 at 18:25 UTC
5d9e27a596884d30499c7401296916fd729c817f
1 file changed
+2
-2
apps/web/src/components/chat/MessagesTimeline.tsx
+2
-2
@@ -1778,7 +1778,7 @@ function QueuedMessageTimelineRow({
1778
<div className="flex flex-col items-end" data-queued-message-id={queuedMessage.id}>
1779
<div className="max-w-[80%] rounded-2xl border border-dashed border-border p-3 text-message-foreground/80">
1780
{text.length > 0 ? (
1781
- <div className="whitespace-pre-wrap break-words text-sm">{text}</div>
1781
+ <UserMessageBody text={text} skills={ctx.skills} markdownCwd={ctx.markdownCwd} />
1782
) : null}
1783
{attachmentCount > 0 || contextCount > 0 ? (
1784
<div className={cn("text-secondary-label text-xs", text.length > 0 && "mt-1.5")}>
@@ -4067,7 +4067,7 @@ const CollapsibleUserMessageBody = memo(function CollapsibleUserMessageBody(prop
4067
4068
const UserMessageBody = memo(function UserMessageBody(props: {
4069
text: string;
4070
- renderContextReference: (reference: ChatMarkdownContextReference) => ReactNode;
4070
+ renderContextReference?: (reference: ChatMarkdownContextReference) => ReactNode;
4071
skills: ReadonlyArray<Pick<ServerProviderSkill, "name" | "displayName">>;
4072
markdownCwd: string | undefined;
4073
}) {