Skip to content

Commit

Permalink
fixed HTML formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
its-the-shrimp committed Oct 23, 2023
1 parent 518d49a commit 66e8ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/suspense/src/struct_consumer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl Component for BaseAppContent {
let on_take_a_break = ctx.link().callback(|_| Msg::TakeABreak);
html! {
<div class="content-area">
<textarea value={self.value.clone()} {oninput}/>
<textarea value={self.value.clone()} {oninput} />
<div class="action-area">
<button onclick={on_take_a_break}>{"Take a break!"}</button>
<div class="hint">{"You can take a break at anytime"}<br />{"and your work will be preserved."}</div>
Expand Down

0 comments on commit 66e8ad3

Please sign in to comment.