update router book

This commit is contained in:
Adrian Wannenmacher committed 2022-12-16 10:41:44 +01:00
1 parent 1890ebc4f7
commit a947ce2215
23 files changed
+212 -212

No files matched your search

@@ -24,7 +24,7 @@ use dioxus_router::{prelude::*, history::WebHashHistory};
fn App(cx: Scope) -> Element {
use_router(
&cx,
cx,
&|| RouterConfiguration {
history: Box::new(WebHashHistory::new(true)),
..Default::default()
@@ -32,9 +32,9 @@ fn App(cx: Scope) -> Element {
&|| Segment::empty()
);
cx.render(rsx! {
render! {
Outlet { }
})
}
}
```