How can I update a react hooks state object that has a nested object containing objects with index keys? Here is the default state object.
const