🐛 Fix team members request loop on dashboard

This commit is contained in:
Elena Torró 2026-05-21 09:26:53 +02:00 committed by GitHub
parent d7a50735ba
commit df0a58af93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -540,14 +540,14 @@
(mf/defc team-members-page*
[{:keys [team profile]}]
(mf/with-effect [team]
(mf/with-effect [(:id team)]
(dom/set-html-title
(tr "title.team-members"
(if (:is-default team)
(tr "dashboard.your-penpot")
(:name team)))))
(mf/with-effect [team]
(mf/with-effect [(:id team)]
(st/emit! (dtm/fetch-members)))
[:*
@ -1069,7 +1069,7 @@
(tr "dashboard.your-penpot")
(:name team)))))
(mf/with-effect [(:id team) (:members team)]
(mf/with-effect [(:id team)]
(st/emit! (dtm/fetch-invitations)))
[:*