Fiter no estado Redux
case 'DELETE_HOSTNAME':
return { hostnames: state.hostnames.filter(hostname =>
hostname.id !== action.hostnameId
)}
Agreeable Ape
case 'DELETE_HOSTNAME':
return { hostnames: state.hostnames.filter(hostname =>
hostname.id !== action.hostnameId
)}