mirror of
https://github.com/penpot/penpot.git
synced 2025-02-06 06:18:32 -05:00
Use debounce for persistence.
This commit is contained in:
parent
f28d54936f
commit
17eafb8563
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
|||
:projects-by-id])
|
||||
stream (->> (l/focus-atom lens st/state)
|
||||
(rx/from-atom)
|
||||
(rx/sample 1000)
|
||||
(rx/debounce 1000)
|
||||
(rx/tap #(println "[save]")))]
|
||||
(rx/on-value stream #(dl/persist-state %))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue