[FW][FIX] developer/tutorials/discover_js_framework: add missing this

closes odoo/documentation#5687

Forward-port-of: odoo/documentation#5677
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
Andrea Tasselli 2023-08-31 06:16:02 +00:00 committed by GitHub
parent ac834e3919
commit 2f9645c1a6

View File

@ -46,7 +46,7 @@ button.
static template = "my_module.Counter";
setup() {
state = useState({ value: 0 });
this.state = useState({ value: 0 });
}
increment() {