mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
Reduce debounce timeout
This commit is contained in:
parent
dd62c7fe18
commit
39eb964cb7
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@
|
||||||
(defn use-debonced-resolve-callback
|
(defn use-debonced-resolve-callback
|
||||||
[name-ref token tokens callback & {:keys [cached timeout]
|
[name-ref token tokens callback & {:keys [cached timeout]
|
||||||
:or {cached {}
|
:or {cached {}
|
||||||
timeout 500}}]
|
timeout 160}}]
|
||||||
(let [timeout-id-ref (mf/use-ref nil)
|
(let [timeout-id-ref (mf/use-ref nil)
|
||||||
cache (mf/use-ref cached)
|
cache (mf/use-ref cached)
|
||||||
debounced-resolver-callback
|
debounced-resolver-callback
|
||||||
|
|
Loading…
Reference in a new issue