fix: no type
This commit is contained in:
1 parent
e3a8e44a69
commit
4955cfc940
3 files changed
+36
-2
No files matched your search
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user