From c0b29e4be7f0fff59934ef6e7c52dea2ee31e0b3 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 21 Mar 2026 19:46:05 +0100 Subject: chore(version): v0.1.0 --- src/components/checkbox_placeholder.rs | 5 +---- src/pages/buy.rs | 2 +- src/pages/recipe.rs | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src') 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, -) -> impl IntoView { +pub fn CheckboxPlaceholder(label: &'static str, node_ref: NodeRef) -> 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! { - {amount}{ingredient_one_of1.not_registered_product.name} + {amount}{ingredient_one_of1.not_registered_product.name} } .into_any() -- cgit 1.4.1