cleanup, rename setState into updateState

This commit is contained in:
Géry Debongnie
2019-03-19 10:05:46 +01:00
parent 7d10e57cc0
commit 695636e60e
11 changed files with 61 additions and 60 deletions
+1 -1
View File
@@ -13,6 +13,6 @@ export class Counter extends odoo.core.Component {
}
increment(delta) {
this.setState({ counter: this.state.counter + delta });
this.updateState({ counter: this.state.counter + delta });
}
}