case 'DELETE_HOSTNAME': return { hostnames: state.hostnames.filter(hostname => hostname.id !== action.hostnameId )}