diff --git a/app/soapbox/features/compose/components/reply_mentions.js b/app/soapbox/features/compose/components/reply_mentions.js index 55c0f95eb..c08e52fd0 100644 --- a/app/soapbox/features/compose/components/reply_mentions.js +++ b/app/soapbox/features/compose/components/reply_mentions.js @@ -23,7 +23,7 @@ class ReplyMentions extends ImmutablePureComponent { render() { const { explicitAddressing, to, isReply } = this.props; - if (!explicitAddressing || !isReply || !to || to.length === 0) { + if (!explicitAddressing || !isReply || !to || to.size === 0) { return null; } @@ -41,4 +41,4 @@ class ReplyMentions extends ImmutablePureComponent { ); } -} \ No newline at end of file +}