mirror of
https://github.com/penpot/penpot.git
synced 2025-07-26 02:57:23 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
3a8123314e
1 changed files with 1 additions and 3 deletions
|
@ -154,9 +154,7 @@
|
||||||
(hooks/use-shortcuts ::dashboard sc/shortcuts)
|
(hooks/use-shortcuts ::dashboard sc/shortcuts)
|
||||||
|
|
||||||
(mf/with-effect [profile team-id]
|
(mf/with-effect [profile team-id]
|
||||||
(when profile
|
(st/emit! (dd/initialize {:id team-id}))
|
||||||
;; When doing logout we must avoid reinitializing the dashboard
|
|
||||||
(st/emit! (dd/initialize {:id team-id})))
|
|
||||||
(fn []
|
(fn []
|
||||||
(dd/finalize {:id team-id})))
|
(dd/finalize {:id team-id})))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue