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:
parent
8eacf738c2
commit
e5afeccadf
1 changed files with 2 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Add table
Reference in a new issue