From a2943c464985b2d3baa9d044e38e57ca3a381a52 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Mon, 2 Jan 2023 18:37:10 -0500 Subject: [PATCH] Fix `counters_isomorphic` --- examples/counter_isomorphic/src/counters.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()}

})} } }