diff --git a/src/uxbox/main/exports.cljs b/src/uxbox/main/exports.cljs index 261b51e830..4cf774fde2 100644 --- a/src/uxbox/main/exports.cljs +++ b/src/uxbox/main/exports.cljs @@ -64,3 +64,9 @@ [id] (let [page (get-in @st/state [:pages id])] (mx/render-static-html (page-svg page)))) + +(defn render-page* + [id] + (let [page (get-in @st/state [:pages id])] + (when (:shapes page) + (mx/render-static-html (page-svg page)))))