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
1 changed files with 1 additions and 1 deletions

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>