Update localstate.md
This commit is contained in:
1 parent
78e6064c9b
commit
c9537a4c41
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user