| changeset 124 | c77570164050 |
| parent 77 | cd27d9fc1c73 |
| child 125 | c653f49fabfb |
| 123:6542f93cdc0d | 124:c77570164050 |
|---|---|
21 ); |
21 ); |
22 } |
22 } |
23 } |
23 } |
24 |
24 |
25 function mapStateToProps(state, props) { |
25 function mapStateToProps(state, props) { |
26 return props; |
26 return { |
27 ...props, |
|
28 notes : props.notes.filter(note => !note.deleted) |
|
29 }; |
|
27 } |
30 } |
28 |
31 |
29 export default connect(mapStateToProps)(SessionSummary); |
32 export default connect(mapStateToProps)(SessionSummary); |