Update State
Loading "Make the Setstate Function Work"
Run locally for transcripts
👨💼 Alright, right now when you click the button, nothing happens. Let's get it
to update the state.
Update the
setState
function to assign the given state to the new state.When you do this, it'll not actually update the number in the button either.
We'll get to that soon!