From 9cfe55cb0a8f3a158cd6f01c132f51cc5e986b89 Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Fri, 30 Dec 2022 01:52:41 -0800 Subject: [PATCH] Fixing a PropType --- app/javascript/mastodon/components/media_gallery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/components/media_gallery.js b/app/javascript/mastodon/components/media_gallery.js index 4c95b1e6b..c5d819920 100644 --- a/app/javascript/mastodon/components/media_gallery.js +++ b/app/javascript/mastodon/components/media_gallery.js @@ -26,7 +26,7 @@ class Item extends React.PureComponent { displayWidth: PropTypes.number, visible: PropTypes.bool.isRequired, autoplay: PropTypes.bool, - noDescriptionTitle: PropTypes.object, + noDescriptionTitle: PropTypes.string, }; static defaultProps = {