Why does my code cause an infinite loop and how do I fix this? (ReactJS)[SOLVED]

oh wow thank you so much man, been trynna figure this out for awhile now haha.

you are most welcome :slight_smile: