Javascript – Problems with context when updating an array
I'm encountering an issue with the state of my context when updating a state that is an array. Specifically, I have an object that stores days selected by the user, which can be removed one by one. When removing a…