From 331f409af9dcb591cd8c42bab1d0549283631a56 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Thu, 9 Oct 2025 00:28:27 +0200 Subject: [PATCH] Increase debounce --- web/components/search-location.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web/components/search-location.tsx b/web/components/search-location.tsx index beb2d237..ddeb229a 100644 --- a/web/components/search-location.tsx +++ b/web/components/search-location.tsx @@ -110,11 +110,10 @@ export const useCitySearch = () => { if (query.length < 2) { setCities([]) return - } - if (query.length >= 2) { + } else { fetchData() } - }, 200) + }, 1000) return () => { clearTimeout(debounce)