Fix missing type (#624)

Co-authored-by: Artur Comunello <artur.comunello@corel.com>
This commit is contained in:
Artur Comunello
2024-06-23 19:58:42 -03:00
committed by GitHub
parent 63b4f71f5a
commit fe35ffe0be

View File

@@ -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);