fix router examples

This commit is contained in:
Evan Almloff committed 2024-01-18 09:38:53 -06:00
1 parent 5291b00798
commit aa30079633
4 files changed
+4 -6

No files matched your search

+1 -3
View File
@@ -54,7 +54,5 @@ fn Nav() -> Element {
}
fn main() {
launch_desktop(Route::Blog {
id: "hello".to_string(),
});
launch_desktop(|| rsx! {Router::<Route> {}});
}