Measure all rects for embeds

This commit is contained in:
Dan Abramov
2024-11-07 01:59:10 +00:00
parent a6d009d06b
commit a3b037af5c
7 changed files with 49 additions and 22 deletions
+1 -1
View File
@@ -59,6 +59,7 @@ let ProfileHeaderShell = ({
{
uri: profile.avatar,
thumbUri: profile.avatar,
thumbRect: null,
dimensions: {
// It's fine if it's actually smaller but we know it's 1:1.
height: 1000,
@@ -68,7 +69,6 @@ let ProfileHeaderShell = ({
},
],
index: 0,
thumbDims: null,
})
}
}, [openLightbox, profile, moderation])