We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90fa3a2 commit 7440c17Copy full SHA for 7440c17
1 file changed
src/components/Avatar/Avatar.tsx
@@ -25,7 +25,7 @@ const getInitials = (name?: string) => {
25
return '';
26
}
27
28
- const initials = Array.from(name?.matchAll(regex) || []);
+ const initials = Array.fom(name?.matchAll(regex) || []);
29
30
if (!initials.length) {
31
0 commit comments