[#5938] [desktop] switch editing mode when leaving profile

This commit is contained in:
Roman Volosovskyi 2018-09-24 12:54:24 +03:00
parent d35b15e54e
commit 85a8a35399
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 2 additions and 0 deletions

View File

@ -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]))