|
@@ -45,7 +45,6 @@ fn BlogList(cx: Scope) -> Element {
|
|
}
|
|
}
|
|
|
|
|
|
fn BlogPost(cx: Scope) -> Element {
|
|
fn BlogPost(cx: Scope) -> Element {
|
|
-
|
|
|
|
let Some(id) = use_route(cx).segment("id") else {
|
|
let Some(id) = use_route(cx).segment("id") else {
|
|
return cx.render(rsx! { div { "No blog post id" } })
|
|
return cx.render(rsx! { div { "No blog post id" } })
|
|
};
|
|
};
|