1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

Merge pull request #4150 from matrix-org/travis/fix-cutoff

Fix the last char of people's names being cut off in the invite dialog
This commit is contained in:
Travis Ralston
2020-03-02 09:59:51 -07:00
committed by GitHub

View File

@@ -219,7 +219,7 @@ class DMRoomTile extends React.PureComponent {
}
// Push any text we missed (end of text)
if (i < (str.length - 1)) {
if (i < str.length) {
result.push(<span key={i + 'end'}>{str.substring(i)}</span>);
}