chore: search options tune

This commit is contained in:
Tienson Qin
2021-03-16 15:24:31 +08:00
parent f7bc6f1298
commit 1af67a0a24
2 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@
search-q (state/sub :search/q)
show-result? (boolean (seq search-result))
blocks-count (or (db/blocks-count) 0)
timeout (if (> blocks-count 2000) 500 100)]
timeout (if (> blocks-count 2000) 500 300)]
(rum/with-context [[t] i18n/*tongue-context*]
[:div#search.flex-1.flex
[:div.inner