mirror of
https://github.com/penpot/penpot.git
synced 2025-02-23 07:16:07 -05:00
✨ Add better way to delay a stream for library notification
This commit is contained in:
parent
77f906ae37
commit
713d6a31df
1 changed files with 2 additions and 2 deletions
|
@ -190,8 +190,8 @@
|
|||
libraries)]
|
||||
|
||||
(when needs-check?
|
||||
(rx/concat (rx/timer 1000)
|
||||
(rx/of (dwl/notify-sync-file file-id))))))))
|
||||
(->> (rx/of (dwl/notify-sync-file file-id))
|
||||
(rx/delay 1000)))))))
|
||||
|
||||
(defn- fetch-libraries
|
||||
[file-id]
|
||||
|
|
Loading…
Add table
Reference in a new issue