mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
Fix counters_isomorphic
This commit is contained in:
parent
d4b5b958f3
commit
a2943c4649
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ pub fn Counter(cx: Scope) -> impl IntoView {
|
|||
<span>"Value: " {move || value().to_string()} "!"</span>
|
||||
<button on:click=move |_| inc.dispatch(())>"+1"</button>
|
||||
</div>
|
||||
{move || error_msg().map(|msg| view! { cx, <p>"Error: " {msg}</p>})}
|
||||
{move || error_msg().map(|msg| view! { cx, <p>"Error: " {msg.to_string()}</p>})}
|
||||
</div>
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue