docs: fix braces in `<Show/>` example (#1303)
This commit is contained in:
parent
ae3ddcb0e6
commit
da9183f4b5
|
@ -198,7 +198,7 @@ let (value, set_value) = create_signal(cx, 0);
|
|||
|
||||
view! { cx,
|
||||
<Show
|
||||
when=move || value() > 5
|
||||
when=move || { value() > 5 }
|
||||
fallback=|cx| view! { cx, <Small/> }
|
||||
>
|
||||
<Big/>
|
||||
|
|
Loading…
Reference in New Issue