Skip to content

Commit 71cdf46

Browse files
committed
fix: Elements was renamed to KeyedElements
1 parent db8874f commit 71cdf46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/keyed-elements/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ fn Main() {
129129
selected_index,
130130
..
131131
}| {
132-
Elements(
132+
KeyedElements(
133133
items
134134
.iter()
135135
.enumerate()

examples/tic-tac-toe/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fn Game() {
9191
move |i| state_setter.dispatch(data::GameAction::JumpTo(i))
9292
};
9393

94-
let moves = Elements((0..state.full_history().len()).map(move |i: usize| {
94+
let moves = KeyedElements((0..state.full_history().len()).map(move |i: usize| {
9595
let desc = if i > 0 {
9696
format!("Go to move #{i}")
9797
} else {

0 commit comments

Comments
 (0)