Skip to content

Commit cba8812

Browse files
authored
Merge pull request #2789 from sahandsn/patch-6
Update part6d.md
2 parents 00dfd4a + d964067 commit cba8812

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/6/en/part6d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ import { useContext } from 'react' // highlight-line
592592
import CounterContext from './CounterContext'
593593

594594
const Display = () => {
595-
const [counter, dispatch] = useContext(CounterContext) // highlight-line
595+
const [counter] = useContext(CounterContext) // highlight-line
596596
return <div>
597597
{counter}
598598
</div>

0 commit comments

Comments
 (0)