Two small bugfixes

This commit is contained in:
Scott Nonnenberg 2020-09-25 09:59:45 -07:00 committed by Josh Perez
parent dabab60f56
commit d39ede068a
2 changed files with 9 additions and 6 deletions

View file

@ -66,8 +66,9 @@ export class MessageBody extends React.Component<Props> {
<AddNewLines
key={key}
text={textWithNewLines}
renderNonNewLine={({ text }) => (
renderNonNewLine={({ text, key: innerKey }) => (
<AtMentionify
key={innerKey}
direction={direction}
text={text}
bodyRanges={bodyRanges}