diff --git a/exercises/04.context/01.problem.provider/index.tsx b/exercises/04.context/01.problem.provider/index.tsx index 2860c581..146afe81 100644 --- a/exercises/04.context/01.problem.provider/index.tsx +++ b/exercises/04.context/01.problem.provider/index.tsx @@ -52,7 +52,7 @@ function useSearchParams() { return [searchParams, setSearchParams] as const } -// 🐨 create a useSearchParams hook here that returns use(QueryParamsProvider) +// 🐨 create a useSearchParams hook here that returns use(QueryParamsContext) const getQueryParam = (params: URLSearchParams) => params.get('query') ?? ''