diff -r 6542f93cdc0d -r c77570164050 client/src/components/NotesList.js --- a/client/src/components/NotesList.js Wed Jul 19 17:03:40 2017 +0200 +++ b/client/src/components/NotesList.js Thu Jul 20 11:23:08 2017 +0200 @@ -88,7 +88,10 @@ }; function mapStateToProps(state, props) { - return props; + return { + ...props, + notes : props.notes.filter(note => !note.deleted) + }; } function mapDispatchToProps(dispatch) {