export const getUsernameLetters = (username: string): string => { const words = username.split(' '); if (words[1]?.[0]) { return words[0]?.[0] + words[1]?.[0]; } return words[0]?.[0]; };