seanhorgan98 / fantasyhockey

Githup repository for our fantasy hockey app
MIT License
2 stars 0 forks source link

Updating stats when adding a player to add game needs to call setState #62

Closed seanhorgan98 closed 5 years ago

seanhorgan98 commented 5 years ago

Bug Description When incrementing stat values on the add player menu when adding a game the displayed value doesn't update visually with it. If you exit the screen and click on the name again it has updated fine.

Expected behavior Should update after each click of the button so the user can see how many goals they have given me ;)

Potential Fix Should be able to be fixed by calling setState after each button click so the interface can update the values.