0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-16 01:31:22 -05:00

Schedule to the next context the message side effect.

This commit is contained in:
Andrey Antukh 2016-05-15 22:59:58 +03:00
parent c57e3f2a68
commit e0ba0fd41f
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -88,15 +88,15 @@
(defn error!
[& args]
(rs/emit! (apply show-error args)))
(p/schedule 0 #(rs/emit! (apply show-error args))))
(defn info!
[& args]
(rs/emit! (apply show-info args)))
(p/schedule 0 #(rs/emit! (apply show-info args))))
(defn dialog!
[& args]
(rs/emit! (apply show-dialog args)))
(p/schedule 0 #(rs/emit! (apply show-dialog args))))
(defn close!
[]