finish fixing router

This commit is contained in:
Evan Almloff committed 2024-01-16 16:24:44 -06:00
1 parent adf67b4384
commit ecf17b351c
2 files changed
+1 -5

No files matched your search

-2
View File
@@ -49,13 +49,11 @@ fn NavBar() -> Element {
#[component]
fn Home() -> Element {
println!("Home");
rsx! { h1 { "Welcome to the Dioxus Blog!" } }
}
#[component]
fn Blog() -> Element {
println!("Blog");
rsx! {
h1 { "Blog" }
Outlet::<Route> {}