Skip to content

Commit

Permalink
Update index.tsx (#218)
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
jsparkdev committed Mar 29, 2024
1 parent 4a3c718 commit 5512042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/04.context/01.problem.provider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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') ?? ''

Expand Down

0 comments on commit 5512042

Please sign in to comment.