mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
Replace debounce with sample.
This commit is contained in:
parent
90dd207e88
commit
f37986d5c1
@ -16,7 +16,7 @@
|
||||
:projects-by-id])
|
||||
stream (->> (l/focus-atom lens st/state)
|
||||
(rx/from-atom)
|
||||
(rx/debounce 1000)
|
||||
(rx/sample 1000)
|
||||
(rx/tap #(println "[save]")))]
|
||||
(rx/on-value stream #(dl/persist-state %))))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user