feat: add avatar email fallback
This commit is contained in:
@@ -3,4 +3,4 @@ export const initials = (text: string) =>
|
||||
?.split(' ')
|
||||
.map((name: string) => name.slice(0, 1).toUpperCase())
|
||||
.slice(0, 2)
|
||||
.join('') ?? 'UK';
|
||||
.join('');
|
||||
|
||||
Reference in New Issue
Block a user