Skip to content

Commit 7440c17

Browse files
tmp 2
1 parent 90fa3a2 commit 7440c17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Avatar/Avatar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const getInitials = (name?: string) => {
2525
return '';
2626
}
2727

28-
const initials = Array.from(name?.matchAll(regex) || []);
28+
const initials = Array.fom(name?.matchAll(regex) || []);
2929

3030
if (!initials.length) {
3131
return '';

0 commit comments

Comments
 (0)