Fix context trait params

This commit is contained in:
Jonathan Kelley committed 2024-01-18 19:49:20 -08:00
1 parent 6ed3aafb2f
commit 391fe15db8
4 files changed
+33 -40

No files matched your search

@@ -21,8 +21,7 @@ fn main() {
#[cfg(not(feature = "ssr"))]
config.launch(|| {
rsx! {
Router::<Route> {
}
Router::<Route> {}
}
});
}
@@ -31,6 +30,7 @@ fn main() {
enum Route {
#[route("/")]
Home {},
#[route("/blog/:id")]
Blog { id: i32 },
}