Make router work on web

This commit is contained in:
Jonathan Kelley committed 2024-01-19 16:36:40 -08:00
1 parent b0038bb24b
commit 85c7c22619
51 files changed
+110 -98

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ fn app() -> Element {
button {
onclick: move |_| {
let dom = VirtualDom::new(popup);
dioxus_desktop::window().new_window(dom, Default::default());
dioxus::desktop::window().new_window(dom, Default::default());
},
"New Window"
}