From a6a907484017938dbef832a1b1ee226cf40acc63 Mon Sep 17 00:00:00 2001 From: AEKKAPOB PANGTAN <96365700+not6248@users.noreply.github.com> Date: Wed, 14 Jan 2026 22:32:38 +0700 Subject: [PATCH] Fix the CounterContext path to be correct --- src/content/6/en/part6d.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/6/en/part6d.md b/src/content/6/en/part6d.md index 28cc0b2243c..eae081fd345 100644 --- a/src/content/6/en/part6d.md +++ b/src/content/6/en/part6d.md @@ -719,7 +719,7 @@ Other components can now access the context using the [useContext](https://react ```js import { useContext } from 'react' // highlight-line -import CounterContext from './CounterContext' // highlight-line +import CounterContext from '../CounterContext' // highlight-line const Display = () => { // highlight-line const { counter } = useContext(CounterContext) // highlight-line @@ -734,7 +734,7 @@ Similarly, the Button component becomes: ```js import { useContext } from 'react' // highlight-line -import CounterContext from './CounterContext' // highlight-line +import CounterContext from '../CounterContext' // highlight-line const Button = ({ type, label }) => { // highlight-line const { counterDispatch } = useContext(CounterContext) // highlight-line