import countryList from "react-select-country-list"; export default function Address({ address }) { const edit_address_route = `/account/addresses/${address.id}/edit`; return( {address.attributes.street} {address.attributes.number} {address.attributes.zip_code} {address.attributes.city} {countryList().getLabel(address.attributes.country)} Editar ); }