0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-06 14:50:20 -05:00

Reduce debounce timeout

This commit is contained in:
Florian Schroedl 2024-06-21 17:18:56 +02:00
parent dd62c7fe18
commit 39eb964cb7

View file

@ -125,7 +125,7 @@
(defn use-debonced-resolve-callback
[name-ref token tokens callback & {:keys [cached timeout]
:or {cached {}
timeout 500}}]
timeout 160}}]
(let [timeout-id-ref (mf/use-ref nil)
cache (mf/use-ref cached)
debounced-resolver-callback