increase debounce timeout

search
Gabi Purcaru 2023-01-01 19:35:38 +00:00
rodzic 98955c7cbf
commit c3f03dbeba
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -466,7 +466,7 @@ function Results({
debounce((s: string) => { debounce((s: string) => {
setLoading(false) setLoading(false)
setSearch(s) setSearch(s)
}, 100) }, 1500)
).current ).current
follows = follows.filter((acc) => matchesSearch(acc, search)).slice(0, 500) follows = follows.filter((acc) => matchesSearch(acc, search)).slice(0, 500)