Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialPeter Mingione
10,484 PointsUse React's Context API with Hooks Scoreboard App is not working
I am trying to run the final version of the scoreboard app in the project files. (Project: Use React's Context API with Hooks.) But the app is not working. The stopwatch is working but the add and remove player, as well as the increase and decrease score, functionality is not working.
I am getting an error in the console but I am not sure how to interpret it.
./src/Components/Context/index.js react_devtools_backend.js:3973
Line 33:10: 'players' is assigned a value but never used no-unused-vars
overrideMethod @ react_devtools_backend.js:3973
printWarnings @ webpackHotDevClient.js:138
handleWarnings @ webpackHotDevClient.js:143
push../node_modules/react-dev-utils/webpackHotDevClient.js.connection.onmessage @ webpackHotDevClient.js:210