diff --git a/src/components/Post/Embed/ImageEmbed.tsx b/src/components/Post/Embed/ImageEmbed.tsx index 5934eac3ee..0093d10406 100644 --- a/src/components/Post/Embed/ImageEmbed.tsx +++ b/src/components/Post/Embed/ImageEmbed.tsx @@ -57,7 +57,11 @@ export function ImageEmbed({ 'worklet' const rects: (MeasuredDimensions | null)[] = [] for (const r of refs) { - rects.push(measure(r)) + try { + rects.push(measure(r)) + } catch { + rects.push(null) + } } runOnJS(_openLightbox)(index, rects, fetchedDims) })()