We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00dfd4a + d964067 commit cba8812Copy full SHA for cba8812
src/content/6/en/part6d.md
@@ -592,7 +592,7 @@ import { useContext } from 'react' // highlight-line
592
import CounterContext from './CounterContext'
593
594
const Display = () => {
595
- const [counter, dispatch] = useContext(CounterContext) // highlight-line
+ const [counter] = useContext(CounterContext) // highlight-line
596
return <div>
597
{counter}
598
</div>
0 commit comments