0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 10:38:13 -05:00

Fix app reloading (broken in previous commit).

This commit is contained in:
Andrey Antukh 2016-12-19 09:10:36 +01:00
parent 98b1fd6afd
commit 549d1a01c9
No known key found for this signature in database
GPG key ID: 4DFEBCB8316A8B95
2 changed files with 5 additions and 1 deletions

View file

@ -14,4 +14,5 @@
[]
(lc/init)
(st/init initial-state)
(ui/init-routes)
(ui/init))

View file

@ -164,9 +164,12 @@
;; --- Main Entry Point
(defn init-routes
[]
(rt/init routes))
(defn init
[]
(rt/init routes)
(mx/mount (app) (dom/get-element "app"))
(mx/mount (lightbox) (dom/get-element "lightbox"))
(mx/mount (loader) (dom/get-element "loader")))