File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ const UnMemoizedGallery = <
3939 ( ) =>
4040 images . map ( ( image ) => ( {
4141 source : image . image_url || image . thumb_url || '' ,
42- src : image . image_url || image . thumb_url || '' ,
4342 } ) ) ,
4443 [ images ] ,
4544 ) ;
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ import React from 'react';
55 */
66export type ModalImageProps = {
77 /** The src attribute for the image element */
8- data : { src : string } ;
8+ data : { source : string } ;
99} ;
1010
1111export const ModalImage : React . FC < ModalImageProps > = ( props ) => {
1212 const { data } = props ;
1313 return (
1414 < div className = 'str-chat__modal-image__wrapper' data-testid = 'modal-image' >
15- < img className = 'str-chat__modal-image__image' src = { data . src } />
15+ < img className = 'str-chat__modal-image__image' src = { data . source } />
1616 </ div >
1717 ) ;
1818} ;
You can’t perform that action at this time.
0 commit comments