From cd3f0d0caaa7db5ad1cbbda26922b3fe933cff68 Mon Sep 17 00:00:00 2001 From: Mariano Date: Sun, 5 Jan 2025 19:26:11 -0300 Subject: [PATCH] Fix typo in comment (#227) --- exercises/04.context/02.problem.hook/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/04.context/02.problem.hook/index.tsx b/exercises/04.context/02.problem.hook/index.tsx index bac61eb6..375e88d8 100644 --- a/exercises/04.context/02.problem.hook/index.tsx +++ b/exercises/04.context/02.problem.hook/index.tsx @@ -59,7 +59,7 @@ function SearchParamsProvider({ children }: { children: React.ReactNode }) { export function useSearchParams() { const context = use(SearchParamsContext) - // 🐨 if there's no context value, the throw an error with a helpful error message + // 🐨 if there's no context value, then throw an error with a helpful error message return context }