getInitials = (name) => {
  const [firstName, lastName] = name.split(' ')

  if (firstName && lastName) {
    return `${firstName.charAt(0)}${lastName.charAt(0)}`
  } else {
    return firstName.charAt(0)
  }
}
@description Generate Avatar initials from name string
@param {String} name
@returns {String} Avatar Initials