diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-16 00:44:19 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-16 00:44:19 +0000 |
| commit | 002d6fcabed32258cba29d71e6d3963aca629fe2 (patch) | |
| tree | 9325f590bf5a6f34dd066f757cea91923af7dfef /apps/web/lib/hooks/bookmark-search.ts | |
| parent | f6ca0b0c4fb3c1e6d93a00fcce7cb0aee12930c0 (diff) | |
| download | karakeep-002d6fcabed32258cba29d71e6d3963aca629fe2.tar.zst | |
ui(web): Reduce debounce duration to 10ms in search bar
Diffstat (limited to 'apps/web/lib/hooks/bookmark-search.ts')
| -rw-r--r-- | apps/web/lib/hooks/bookmark-search.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/lib/hooks/bookmark-search.ts b/apps/web/lib/hooks/bookmark-search.ts index 1971e79e..8514deb6 100644 --- a/apps/web/lib/hooks/bookmark-search.ts +++ b/apps/web/lib/hooks/bookmark-search.ts @@ -34,7 +34,7 @@ export function useDoBookmarkSearch() { } const id = setTimeout(() => { doSearch(val); - }, 200); + }, 10); setTimeoutId(id); }; |
