app,server: Allow to display a recipe

This commit is contained in:
traxys 2023-06-25 15:13:15 +02:00
parent f3788e31a9
commit 1a0ffb2d89
5 changed files with 159 additions and 4 deletions

View file

@ -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!{