0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-19 11:11:21 -05:00

Fix project creation.

This commit is contained in:
Andrey Antukh 2016-11-08 17:41:33 +01:00
parent eae616b823
commit cba8e6341d
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95

View file

@ -96,9 +96,9 @@
(letfn [(on-success [{project :payload}]
(rx/of
(project-created project)
(udp/create-page {:width width
:height height
:layout layout
(udp/create-page {:metadata {:width width
:height height
:layout layout}
:project (:id project)
:name "Page 1"
:data nil})))]