mirror of
https://github.com/penpot/penpot.git
synced 2025-05-15 12:56:37 +02:00
🐛 Fix problem creating files in project page
This commit is contained in:
parent
ac23c7bb4a
commit
d54e152a3d
2 changed files with 2 additions and 0 deletions
|
@ -144,6 +144,7 @@
|
|||
|
||||
create-file
|
||||
(mf/use-fn
|
||||
(mf/deps project)
|
||||
(fn [origin]
|
||||
(st/emit! (with-meta (dd/create-file {:project-id (:id project)})
|
||||
{::ev/origin origin}))))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue