[#5938] [desktop] switch editing mode when leaving profile
This commit is contained in:
parent
d35b15e54e
commit
85a8a35399
|
@ -121,4 +121,6 @@
|
|||
(views/defview profile-data []
|
||||
(views/letsubs
|
||||
[user [:get-current-account]]
|
||||
{:component-will-unmount
|
||||
#(re-frame/dispatch [:set :my-profile/editing? false])}
|
||||
[profile user]))
|
||||
|
|
Loading…
Reference in New Issue