src/profile.js
function formatAddress(address) {
  const result = address
  if (result) {
    result.formatted =
      `${result.street_address}\n${result.postal_code} ${result.locality}\n${result.country}`
    return result
  }
  return null
}
function formatAddress(address) {
  const result = address
  if (result) {
    result.formatted =
      `${result.street_address}\n${result.postal_code} ${result.locality}\n${result.country}`
    return result
  }
  return null
}
function formatAddress ( address ) { const result = address if ( result ) { result . formatted = ` ${ result . street_address } \n ${ result . postal_code } ${ result . locality } \n ${ result . country } ` return result } return null }
Profile class that normalizes profile data fetched from authentication provider
Profile class that normalizes profile data fetched from authentication provider