typo correct

This commit is contained in:
glovebx
2020-10-13 20:38:37 +08:00
committed by Simon Genin
parent d83cfc12ee
commit ac9cc91701
+1 -1
View File
@@ -18,7 +18,7 @@ class Child extends Component {
}
class Parent extends Component {
static template = xml`<div><ComponentA a="state.a" b="'string'"/></div>`;
static template = xml`<div><Child a="state.a" b="'string'"/></div>`;
static components = { Child };
state = useState({ a: "fromparent" });
}