export const avatarPlaceholderSelector = (val: string): string => { const removedSpaces = val.replace(' ', ''); const firstTwoLetters = `${ (removedSpaces[0] || '') + (removedSpaces[1] || '') }`.toUpperCase(); return firstTwoLetters; };