Use Unicode aware character-wise slicing (#159)

This commit is contained in:
Samuel Dionne-Riel 2021-11-10 03:00:25 -05:00 committed by GitHub
commit 6e9394ec7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 11 additions and 11 deletions

View file

@ -48,7 +48,7 @@ function ImageUpload({
>
<Avatar
imageSrc={imageSrc}
text={text.slice(0, 1)}
text={text}
bgColor={bgColor}
size="large"
/>