Improved Lightbox experience

This commit is contained in:
Josh Perez 2021-08-23 19:14:53 -04:00 committed by GitHub
parent d80e738fb1
commit d5d808651a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 1054 additions and 966 deletions

View file

@ -26,13 +26,7 @@ export const AvatarLightbox = ({
onClose,
}: PropsType): JSX.Element => {
return (
<Lightbox
contentType={undefined}
close={onClose}
i18n={i18n}
isViewOnce={false}
objectURL=""
>
<Lightbox close={onClose} i18n={i18n} media={[]}>
<AvatarPreview
avatarColor={avatarColor}
avatarPath={avatarPath}