From: slice Date: Thu, 30 May 2019 06:42:09 +0000 (-0700) Subject: Remove isRequired from Glitch ReplyIndicator status X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=e04724296b06bc08fa2ced9616dc7d0a5c89e3ca;p=mastodon.git Remove isRequired from Glitch ReplyIndicator status This can be null under normal circumstances, which isRequired doesn't like. --- diff --git a/app/javascript/flavours/glitch/features/compose/components/reply_indicator.js b/app/javascript/flavours/glitch/features/compose/components/reply_indicator.js index f96ea4c5e..9d5b65a40 100644 --- a/app/javascript/flavours/glitch/features/compose/components/reply_indicator.js +++ b/app/javascript/flavours/glitch/features/compose/components/reply_indicator.js @@ -26,7 +26,7 @@ export default @injectIntl class ReplyIndicator extends ImmutablePureComponent { static propTypes = { - status: ImmutablePropTypes.map.isRequired, + status: ImmutablePropTypes.map, intl: PropTypes.object.isRequired, onCancel: PropTypes.func, };