Skip to content
TypeScript

fix(web): decode timeline image attachments asynchronously (#19923)

Rohan Patnaikda26f1ef70eb
diff --git a/apps/web/src/components/chat/MessagesTimeline.tsx b/apps/web/src/components/chat/MessagesTimeline.tsx
index 195e6cf061f..21054547847 100644
--- a/apps/web/src/components/chat/MessagesTimeline.tsx
+++ b/apps/web/src/components/chat/MessagesTimeline.tsx
@@ -2353,6 +2353,7 @@ function UserTimelineRow({ row }: { row: Extract<TimelineRow, { kind: "message"
mimeType={image.mimeType}
src={image.previewUrl}
alt={image.name}
+ decoding="async"
className="block size-full object-cover"
/>
</button>