fix nested routers

This commit is contained in:
Evan Almloff committed 2023-07-13 19:29:43 -07:00
1 parent 8d166cf40d
commit 128f3e4425
3 files changed
+27 -14

No files matched your search

+1 -1
View File
@@ -68,5 +68,5 @@ use dioxus::prelude::*;
/// # assert_eq!(dioxus_ssr::render(&vdom), "<h1>App</h1><p>Child</p>");
/// ```
pub fn GenericOutlet<R: Routable + Clone>(cx: Scope) -> Element {
OutletContext::render::<R>(cx)
OutletContext::<R>::render(cx)
}