- {message.images.map(img => {
- const src = img.dataUrl || (img.imagePath ? `https://asset.localhost/${encodeURIComponent(img.imagePath)}` : undefined);
- return src ? (
-
{ e.stopPropagation(); setLightboxImage(src); }}>
-

-
- ) : null;
- })}
+ {message.images.map(img => (
+
+ ))}
)}