supernova-97 / Capstone-Project

https://capstone-project-tan-eight.vercel.app
0 stars 0 forks source link

fixed bug #9

Closed supernova-97 closed 1 year ago

supernova-97 commented 1 year ago

Changed the code so the props are now fixed to the to-do id and not the index, which means that even after deleting a to-do, the other to-dos will still have to correct state. Before, deleting a to-do would result in the to-do that's taking it's place (index) to have the state of the deleted to-do.