Skip to content

Commit

Permalink
Make UI iterator include the current UI
Browse files Browse the repository at this point in the history
  • Loading branch information
ealmloff committed Aug 16, 2024
1 parent 22e04e8 commit f73d09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc_examples/reactivity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ mod component {
div { class: "p-2 text-center border-gray-200 dark:border-gray-800",
"UI"
}
for count in (0..count()).rev() {
for count in (0..=count()).rev() {
div {
class: "p-2 border-b border-gray-200 dark:border-gray-800",
div { "Count: {count}" }
Expand Down

0 comments on commit f73d09b

Please sign in to comment.