docs: fix braces in `<Show/>` example (#1303)

This commit is contained in:
Greg Johnston 2023-07-08 06:42:27 -04:00 committed by GitHub
parent ae3ddcb0e6
commit da9183f4b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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/>