Use Unicode aware character-wise slicing (#159)
This commit is contained in:
committed by
GitHub
parent
2c9e32b6c4
commit
6e9394ec7a
@@ -51,7 +51,7 @@ function RoomSelector({
|
||||
content={(
|
||||
<>
|
||||
<Avatar
|
||||
text={name.slice(0, 1)}
|
||||
text={name}
|
||||
bgColor={colorMXID(roomId)}
|
||||
imageSrc={imageSrc}
|
||||
iconSrc={iconSrc}
|
||||
|
||||
Reference in New Issue
Block a user