Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza1311 committed Nov 6, 2022
1 parent cb789f6 commit 117c48f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/yew/tests/raw_html.rs
Expand Up @@ -158,7 +158,11 @@ async fn change_vnode_types_from_other_to_vraw() {
let node = use_state(|| html!("text"));
let onclick = {
let node = node.clone();
move |_| node.set(Html::from_html_unchecked(AttrValue::from("<span>second</span>")))
move |_| {
node.set(Html::from_html_unchecked(AttrValue::from(
"<span>second</span>",
)))
}
};
html! {
<>
Expand Down

0 comments on commit 117c48f

Please sign in to comment.