From 946db0166664e878be7b375a6a026a782a9ad778 Mon Sep 17 00:00:00 2001 From: Ho Kim Date: Sat, 20 Jul 2024 13:52:54 +0000 Subject: [PATCH] fix: re-use label on text input --- crates/cassette/src/components/text_input.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/cassette/src/components/text_input.rs b/crates/cassette/src/components/text_input.rs index fb450e8..3788038 100644 --- a/crates/cassette/src/components/text_input.rs +++ b/crates/cassette/src/components/text_input.rs @@ -71,6 +71,7 @@ impl ComponentRenderer for State { let label = label.map(|label| html! { { label } }); let body = html! { + { label }