Use `Transition` in example
This commit is contained in:
parent
d95dc1858c
commit
6354b79588
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue