Update State

Make the Setstate Function Work
πŸ‘¨β€πŸ’Ό 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!

Please set the playground first

Loading "Update State"
Loading "Update State"