mirror of
https://github.com/penpot/penpot.git
synced 2025-06-10 08:41:40 +02:00
♻️ Enhance features loading to avoid race conditions
This commit is contained in:
parent
b33e469501
commit
18efa4ff2c
2 changed files with 28 additions and 18 deletions
|
@ -13,6 +13,7 @@
|
|||
[app.main.data.users :as du]
|
||||
[app.main.data.websocket :as ws]
|
||||
[app.main.errors]
|
||||
[app.main.features :as features]
|
||||
[app.main.store :as st]
|
||||
[app.main.ui :as ui]
|
||||
[app.main.ui.alert]
|
||||
|
@ -26,7 +27,6 @@
|
|||
[app.util.theme :as theme]
|
||||
[beicon.core :as rx]
|
||||
[debug]
|
||||
[features]
|
||||
[potok.core :as ptk]
|
||||
[rumext.v2 :as mf]))
|
||||
|
||||
|
@ -57,6 +57,7 @@
|
|||
(watch [_ _ stream]
|
||||
(rx/merge
|
||||
(rx/of (ev/initialize)
|
||||
(features/initialize)
|
||||
(du/initialize-profile))
|
||||
|
||||
(->> stream
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue