Javascript – NextJS – Update data object being passed into Child Component based on Button Click
I need to know how to update a data object based on a button click. This data object is being passed into a Child Component. When a user chooses an option in the dropdown menu, I want to populate that…