mirror of
https://github.com/penpot/penpot.git
synced 2026-03-15 15:05:58 +00:00
Fix app reloading (broken in previous commit).
This commit is contained in:
@@ -14,4 +14,5 @@
|
||||
[]
|
||||
(lc/init)
|
||||
(st/init initial-state)
|
||||
(ui/init-routes)
|
||||
(ui/init))
|
||||
|
||||
@@ -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")))
|
||||
|
||||
Reference in New Issue
Block a user