]> cat aescling's git repositories - mastodon.git/commitdiff
Remove isRequired from Glitch ReplyIndicator status
authorslice <ryaneft@gmail.com>
Thu, 30 May 2019 06:42:09 +0000 (23:42 -0700)
committerThibG <thib@sitedethib.com>
Thu, 30 May 2019 07:04:00 +0000 (09:04 +0200)
This can be null under normal circumstances, which isRequired doesn't
like.

app/javascript/flavours/glitch/features/compose/components/reply_indicator.js

index f96ea4c5edda3cddba2ef3166a59cf666b33709a..9d5b65a40f1c45ecc8dca377320a7116c9dc2f73 100644 (file)
@@ -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,
   };