diff --git a/examples/counter_isomorphic/src/counters.rs b/examples/counter_isomorphic/src/counters.rs index a5116be3d3..d7e2d24883 100644 --- a/examples/counter_isomorphic/src/counters.rs +++ b/examples/counter_isomorphic/src/counters.rs @@ -116,7 +116,7 @@ pub fn Counter(cx: Scope) -> impl IntoView { "Value: " {move || value().to_string()} "!" - {move || error_msg().map(|msg| view! { cx,

"Error: " {msg}

})} + {move || error_msg().map(|msg| view! { cx,

"Error: " {msg.to_string()}

})} } }