mirror of
https://github.com/penpot/penpot.git
synced 2025-02-12 18:18:24 -05:00
Replace debounce with sample.
This commit is contained in:
parent
90dd207e88
commit
f37986d5c1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue