Fix project creation.

This commit is contained in:
Andrey Antukh
2016-11-08 17:41:33 +01:00
parent eae616b823
commit cba8e6341d

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})))]