Compare commits

...

1 Commits

Author SHA1 Message Date
Serge Bayet
b428405d75 Update 01_owl_components.rst
The keyword `this` is missing in the setup() definition.
2023-07-19 14:30:15 +02:00

View File

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