[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
+1 -1
View File
@@ -13,6 +13,6 @@ export class Counter extends owl.Component {
}
increment(delta) {
this.updateState({ counter: this.state.counter + delta });
this.state.counter += delta;
}
}