From 6c593abfd36e14e2b1b982af13d5a1c48efcdb0e Mon Sep 17 00:00:00 2001 From: Emanuel Quimper Date: Thu, 11 Jul 2024 11:02:55 -0400 Subject: [PATCH] fix(term): return term --- src/GoogleAutocomplete.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GoogleAutocomplete.tsx b/src/GoogleAutocomplete.tsx index 10925b7..73564f4 100644 --- a/src/GoogleAutocomplete.tsx +++ b/src/GoogleAutocomplete.tsx @@ -127,6 +127,7 @@ export const useGoogleAutocomplete = (apiKey: string, opts: Options = {}) => { searchError, clearSearch, setTerm, + term, searchDetails, }; };