fix: no type

This commit is contained in:
Jonathan Kelley committed 2022-12-30 22:14:28 -05:00
1 parent e3a8e44a69
commit 4955cfc940
3 files changed
+36 -2

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ fn app(cx: Scope) -> Element {
div {
button {
onclick: move |_| {
let dom = VirtualDom::new_with_props(app, props);
let dom = VirtualDom::new(app);
window.new_window(dom, Default::default());
},
"New Window"