Javascript – Deleting a Component Removes all Components after it
I'm using NextJs and React to create a form. I have an input box that gets created with a button click. There can be multiple input boxes. To delete the input box, you click the delete button next to it.…