mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
[FIX] examples: update benchmarks/todoapp to new code
This commit is contained in:
@@ -13,6 +13,6 @@ export class Counter extends owl.Component {
|
||||
}
|
||||
|
||||
increment(delta) {
|
||||
this.updateState({ counter: this.state.counter + delta });
|
||||
this.state.counter += delta;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user