mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 08:08:29 +02:00
🐛 Fix race conditions on profile and teams loading.
This commit is contained in:
parent
464a686c04
commit
99bcf0484a
8 changed files with 51 additions and 49 deletions
|
@ -14,7 +14,7 @@
|
|||
[app.config :as cfg]
|
||||
[app.main.data.auth :as da]
|
||||
[app.main.data.messages :as dm]
|
||||
[app.main.data.users :as udu]
|
||||
[app.main.data.users :as du]
|
||||
[app.main.repo :as rp]
|
||||
[app.main.store :as st]
|
||||
[app.main.ui :as ui]
|
||||
|
@ -91,8 +91,7 @@
|
|||
|
||||
(st/emit! (rt/initialize-router ui/routes)
|
||||
(rt/initialize-history on-navigate)
|
||||
(udu/fetch-profile)
|
||||
(udu/fetch-user-teams)))
|
||||
(du/fetch-profile-and-teams)))
|
||||
|
||||
(defn reinit
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue