We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134d99c commit f385a51Copy full SHA for f385a51
src/components/Attachment/Attachment.js
@@ -127,7 +127,7 @@ export const renderAttachmentActions = (props) => {
127
export const renderGallery = (props) => {
128
const { attachment: a, Gallery } = props;
129
return renderAttachmentWithinContainer(
130
- <Gallery images={a.images} key="gallery" />,
+ <Gallery images={a.images || []} key="gallery" />,
131
a,
132
'gallery',
133
);
0 commit comments