app,server: Allow to display a recipe
This commit is contained in:
parent
f3788e31a9
commit
1a0ffb2d89
5 changed files with 159 additions and 4 deletions
|
|
@ -515,7 +515,7 @@ fn switch(route: Route) -> Html {
|
|||
},
|
||||
Route::Recipe { id } => html! {
|
||||
<GlobalStateRedirector {route}>
|
||||
{format!("RECIPE {id}")}
|
||||
<recipe::RecipeViewer {id} />
|
||||
</GlobalStateRedirector>
|
||||
},
|
||||
Route::SearchRecipe => html!{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue