mirror of
https://github.com/leptos-rs/book.git
synced 2025-12-27 07:35:38 -05:00
fix typo in control_flow (#242)
This commit is contained in:
@@ -262,7 +262,7 @@ view! {
|
||||
view! { <p>"Two"</p> }.into_any()
|
||||
}
|
||||
// returns HtmlElement<Textarea>
|
||||
_ => view! { <textarea>{value()}</textarea> }.into_any()
|
||||
_ => view! { <textarea>{value.get()}</textarea> }.into_any()
|
||||
}}
|
||||
</main>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user