0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -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)
(ptk/reify ::file-created
IDeref
(-deref [_] file)
(-deref [_] {:file-id id
:file-name (:name file)})
ptk/UpdateEvent
(update [_ state]