minor tweak

This commit is contained in:
Reinaldo Neto 2023-06-07 18:49:46 -03:00
parent 07f0fd5b40
commit c1fbc2066b
1 changed files with 1 additions and 8 deletions

View File

@ -31,14 +31,7 @@ export const Media = ({ element }: IImage) => {
const showAttachment = (attachment: IAttachment) => Navigation.navigate('AttachmentView', { attachment });
const imageUrl = element?.imageUrl ?? '';
return (
<ImageContainer
file={{ image_url: imageUrl }}
imageUrl={imageUrl}
showAttachment={showAttachment}
messageId={element.blockId || element.actionId}
/>
);
return <ImageContainer file={{ image_url: imageUrl }} imageUrl={imageUrl} showAttachment={showAttachment} />;
};
const genericImage = (element: IElement, context?: number) => {