mirror of
https://github.com/penpot/penpot.git
synced 2025-02-18 13:04:38 -05:00
Fix app reloading (broken in previous commit).
This commit is contained in:
parent
98b1fd6afd
commit
549d1a01c9
2 changed files with 5 additions and 1 deletions
|
@ -14,4 +14,5 @@
|
||||||
[]
|
[]
|
||||||
(lc/init)
|
(lc/init)
|
||||||
(st/init initial-state)
|
(st/init initial-state)
|
||||||
|
(ui/init-routes)
|
||||||
(ui/init))
|
(ui/init))
|
||||||
|
|
|
@ -164,9 +164,12 @@
|
||||||
|
|
||||||
;; --- Main Entry Point
|
;; --- Main Entry Point
|
||||||
|
|
||||||
|
(defn init-routes
|
||||||
|
[]
|
||||||
|
(rt/init routes))
|
||||||
|
|
||||||
(defn init
|
(defn init
|
||||||
[]
|
[]
|
||||||
(rt/init routes)
|
|
||||||
(mx/mount (app) (dom/get-element "app"))
|
(mx/mount (app) (dom/get-element "app"))
|
||||||
(mx/mount (lightbox) (dom/get-element "lightbox"))
|
(mx/mount (lightbox) (dom/get-element "lightbox"))
|
||||||
(mx/mount (loader) (dom/get-element "loader")))
|
(mx/mount (loader) (dom/get-element "loader")))
|
||||||
|
|
Loading…
Add table
Reference in a new issue