diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/checkbox_placeholder.rs | 5 | ||||
| -rw-r--r-- | src/pages/buy.rs | 2 | ||||
| -rw-r--r-- | src/pages/recipe.rs | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/src/components/checkbox_placeholder.rs b/src/components/checkbox_placeholder.rs index 2006808..27aac13 100644 --- a/src/components/checkbox_placeholder.rs +++ b/src/components/checkbox_placeholder.rs @@ -18,10 +18,7 @@ use leptos::{ use crate::components::get_id; #[component] -pub fn CheckboxPlaceholder( - label: &'static str, - node_ref: NodeRef<Input>, -) -> impl IntoView { +pub fn CheckboxPlaceholder(label: &'static str, node_ref: NodeRef<Input>) -> impl IntoView { let id = get_id(); view! { diff --git a/src/pages/buy.rs b/src/pages/buy.rs index b5349e7..bd5bdfd 100644 --- a/src/pages/buy.rs +++ b/src/pages/buy.rs @@ -41,7 +41,7 @@ pub fn Buy() -> impl IntoView { { Form! { - on_submit = |barcode_number, times| { + on_submit = |barcode_number, times| { let config = get_config!(); let navigate = use_navigate(); diff --git a/src/pages/recipe.rs b/src/pages/recipe.rs index 604aba3..0025f12 100644 --- a/src/pages/recipe.rs +++ b/src/pages/recipe.rs @@ -329,7 +329,7 @@ fn render_ingredient_ingredient_list(ingr: Ingredient) -> impl IntoView { view! { <span class="rounded-lg bg-red-400/70"> - {amount}{ingredient_one_of1.not_registered_product.name} + {amount}{ingredient_one_of1.not_registered_product.name} </span> } .into_any() |
