0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 17:00:36 -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 24b3404876
commit 1d3c8e867e

View file

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