Skip to content

Commit cd3f0d0

Browse files
authored
Fix typo in comment (#227)
1 parent 2b37c2b commit cd3f0d0

File tree

1 file changed

+1
-1
lines changed
  • exercises/04.context/02.problem.hook

1 file changed

+1
-1
lines changed

exercises/04.context/02.problem.hook/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function SearchParamsProvider({ children }: { children: React.ReactNode }) {
5959

6060
export function useSearchParams() {
6161
const context = use(SearchParamsContext)
62-
// 🐨 if there's no context value, the throw an error with a helpful error message
62+
// 🐨 if there's no context value, then throw an error with a helpful error message
6363
return context
6464
}
6565

0 commit comments

Comments
 (0)