Use `Transition` in example

This commit is contained in:
Greg Johnston 2022-12-23 11:34:20 -05:00
parent d95dc1858c
commit 6354b79588
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ pub fn Stories(cx: Scope) -> impl IntoView {
<div>
<Transition
fallback=move || view! { cx, <p>"Loading..."</p> }
set_pending
set_pending=set_pending.into()
>
{move || match stories.read() {
None => None,