Skip to content

Commit

Permalink
refactor: use the new <For />
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Oct 2, 2023
1 parent 11dacbd commit b3080cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/health.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ pub fn NixHealthRoute() -> impl IntoView {
<For
each=move || data.get().unwrap_or(Ok(vec![])).unwrap_or(vec![])
key=|check| check.title.clone()
children=move |check| {
view! { <ViewCheck check/> }
}
/>
let:check
>
<ViewCheck check/>
</For>

</div>

Expand Down

0 comments on commit b3080cd

Please sign in to comment.