Skip to content

Commit

Permalink
Merge pull request #357 from mrxiaozhuox/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
jkelleyrtp committed Apr 17, 2022
2 parents 6bf31f9 + c9537a4 commit 510f07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/src/state/localstate.md
Expand Up @@ -19,8 +19,8 @@ cx.render(rsx!{
ul {
todos.read().iter().enumerate().map(|(id, todo)| rsx!{
li {
onhover: move |_| *todos.write()[id].is_hovered = true,
h1 { "{todo.contents}" }
onhover: move |_| *todos.write()[id].is_hovered = true;
}
})
}
Expand Down

0 comments on commit 510f07b

Please sign in to comment.