Fix "and X more" display in message contacts (#2436)

This was changed from a template string to JSX, but the escape format was not updated. There is also now a missing space before the word "and".
This commit is contained in:
Tim Dorr 2022-11-21 10:29:39 -05:00 committed by GitHub
parent de5e87ea17
commit f9d69e8c02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,7 @@ export default class MessageParticipants extends React.Component<MessageParticip
if (names.length > max) {
const extra = names.length - max;
names = names.slice(0, max);
names.push(<span key="contact-more">and ${extra} more</span>);
names.push(<span key="contact-more"> and {extra} more</span>);
}
return names;