Skip to content
Clone
f0a1552
4 lines 160 B
/** Fallback avatar glyph for an account or space with no picture. */
export function initial(name: string): string {
return name.slice(0, 1).toUpperCase()
}