Fix openCamera, openCropped, lightbox model, and image model usages (#1908)
This commit is contained in:
parent
7d5e01f433
commit
ab1ce078ec
7 changed files with 11 additions and 34 deletions
|
@ -94,7 +94,7 @@ const LightboxFooter = observer(function LightboxFooter({
|
|||
altText = opts.images[imageIndex].alt || ''
|
||||
} else if (lightbox.name === 'profile-image') {
|
||||
const opts = lightbox as models.ProfileImageLightbox
|
||||
uri = opts.profileView.avatar || ''
|
||||
uri = opts.profile.avatar || ''
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue