diff --git a/app/soapbox/components/media_gallery.js b/app/soapbox/components/media_gallery.js
index defe361dc..90c2f2f5d 100644
--- a/app/soapbox/components/media_gallery.js
+++ b/app/soapbox/components/media_gallery.js
@@ -587,17 +587,22 @@ class MediaGallery extends React.PureComponent {
/>
));
- let warning;
+ let warning, summary;
if (sensitive) {
warning =