I\'m wondering if you could help me with this problem if possible. I am trying to delete an item from the Redux state. I have passed in the ID of the item that the user clicks v
In my case filter worked without () and {} and the state was updated
case 'DELETE_COMMENT': return state.filter( id => id !== action.data);