make navigator non-generic
This commit is contained in:
1 parent
0ebcb5f1be
commit
947a153347
4 files changed
+44
-22
No files matched your search
@@ -90,7 +90,7 @@ fn Route3(cx: Scope, dynamic: String) -> Element {
|
||||
"hello world link"
|
||||
}
|
||||
button {
|
||||
onclick: move |_| { navigator.push(NavigationTarget::<Route>::External("https://www.google.com".to_string())); },
|
||||
onclick: move |_| { navigator.push("https://www.google.com"); },
|
||||
"google link"
|
||||
}
|
||||
p { "Site Map" }
|
||||
|
||||
Reference in new issue
Block a user