Skip to content

Commit

Permalink
FIXUP: use empty! instead of empty div!
Browse files Browse the repository at this point in the history
Co-authored-by: Tobias Reiher <15232394+treiher@users.noreply.github.com>
  • Loading branch information
senier and treiher authored Sep 5, 2024
1 parent 4e6c1ac commit 30e61c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ pub fn view_chart<Ms>(
C!["has-text-centered"],
C!["mb-4"],
"No data.".to_string(),
] } else { div![] },
] } else { empty![] },
Some(value) => div![
C!["container"],
C!["has-text-centered"],
Expand Down

0 comments on commit 30e61c4

Please sign in to comment.