0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00

🐛 Minor improvements on file-created event (frontend).

This commit is contained in:
Andrey Antukh 2021-10-11 13:51:44 +02:00
parent 8eacf738c2
commit e5afeccadf

View file

@ -626,7 +626,8 @@
(us/verify ::file file) (us/verify ::file file)
(ptk/reify ::file-created (ptk/reify ::file-created
IDeref IDeref
(-deref [_] file) (-deref [_] {:file-id id
:file-name (:name file)})
ptk/UpdateEvent ptk/UpdateEvent
(update [_ state] (update [_ state]