diff --git a/app/javascript/mastodon/components/media_gallery.js b/app/javascript/mastodon/components/media_gallery.js
index baa7f9afa9..3fde7eca71 100644
--- a/app/javascript/mastodon/components/media_gallery.js
+++ b/app/javascript/mastodon/components/media_gallery.js
@@ -86,7 +86,7 @@ class Item extends React.PureComponent {
if (attachment.get('type') === 'image') {
thumbnail = (
-
{({ radius }) =>
-