From fe35ffe0bebae5ac2b38f6ae779393953d43da5c Mon Sep 17 00:00:00 2001 From: Artur Comunello Date: Sun, 23 Jun 2024 19:58:42 -0300 Subject: [PATCH] Fix missing type (#624) Co-authored-by: Artur Comunello --- dashboard/final-example/app/ui/search.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard/final-example/app/ui/search.tsx b/dashboard/final-example/app/ui/search.tsx index f3a3597..dea4b51 100644 --- a/dashboard/final-example/app/ui/search.tsx +++ b/dashboard/final-example/app/ui/search.tsx @@ -9,7 +9,7 @@ export default function Search({ placeholder }: { placeholder: string }) { const { replace } = useRouter(); const pathname = usePathname(); - const handleSearch = useDebouncedCallback((term) => { + const handleSearch = useDebouncedCallback((term: string) => { console.log(`Searching... ${term}`); const params = new URLSearchParams(searchParams);