This commit is contained in:
Greg Johnston 2024-05-01 07:06:43 -04:00 committed by GitHub
parent 6eb68a8794
commit 4e4872b7db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,7 +125,7 @@ where
/// // parent route
/// <Route path="/" view=move || {
/// view! {
/// // only show the outlet when `is_loaded` is `true`, and hide it when it is `false`
/// // only show the outlet when `has_permission` is `true`, and hide it when it is `false`
/// <Show when=move || has_permission() fallback=|| "Access denied!">
/// <Outlet/>
/// </Show>