mirror of
https://github.com/penpot/penpot.git
synced 2026-09-07 20:49:37 +00:00
Fix app reloading (broken in previous commit).
This commit is contained in:
parent
98b1fd6afd
commit
549d1a01c9
@ -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…
x
Reference in New Issue
Block a user