Measure all rects for embeds
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user