t
if (item.id === id) {
return { ...item, checked: !item.checked }
}
return item
})
Size: a a a
t
ii
t
todos.map(task=>task.id === id ? { ...task, !task.checked } : task))
PI
6
6
c
<select name="cities" id="cities">
{data.allContentfulBlogPost.edges.map((edge) => {
return (
<option value="" key={<Adrress x={edge.node.location.lon} y={edge.node.location.lat} />}><Adrress x={edge.node.location.lon} y={edge.node.location.lat} /></option>
)
}
)}
</select>
L
L
c
c
c
L
L
L
c
c
L
PI