[FIX] examples: update benchmarks/todoapp to new code

This commit is contained in:
Géry Debongnie
2019-04-17 10:55:53 +02:00
parent 94ed6ebe60
commit ce87dd705e
5 changed files with 18 additions and 16 deletions
+4
View File
@@ -54,6 +54,10 @@ class TodoApp extends Component {
toggleAll() {
this.env.store.dispatch("toggleAll", !this.allChecked);
}
setFilter(filter) {
this.state.filter = filter;
}
}
export default connect(mapStateToProps)(TodoApp);