Added back EditProfileModal to all edit profile action buttons

• Added:
- back EditProfileModal to all edit profile action buttons
- AccountActionButton, UserPanel, ProfileHeader
This commit is contained in:
mgabdev
2020-07-17 15:25:05 -05:00
parent 1e55e2e920
commit 10a410be53
4 changed files with 201 additions and 54 deletions

View File

@@ -208,7 +208,7 @@ class ProfileHeader extends ImmutablePureComponent {
backgroundColor='none'
color='brand'
className={[_s.justifyContentCenter, _s.alignItemsCenter].join(' ')}
href='/settings/profile'
onClick={this.handleOnEditProfile}
>
<Text color='inherit' weight='bold' size='medium' className={_s.px15}>
{intl.formatMessage(messages.editProfile)}
@@ -310,7 +310,7 @@ class ProfileHeader extends ImmutablePureComponent {
backgroundColor='none'
color='brand'
className={[_s.justifyContentCenter, _s.alignItemsCenter].join(' ')}
href='/settings/profile'
onClick={this.handleOnEditProfile}
>
<Text color='inherit' weight='bold' size='medium' className={_s.px15}>
{intl.formatMessage(messages.editProfile)}