Updated edit profile modal buttons to settings/profile for now

• Updated:
- edit profile modal buttons to settings/profile for now

• Todo:
- Implement edit profile modal completely
This commit is contained in:
mgabdev 2020-05-26 20:29:58 -04:00
parent 8d6d85f829
commit cb13954e9e
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ class UserPanel extends ImmutablePureComponent {
backgroundColor='secondary' backgroundColor='secondary'
radiusSmall radiusSmall
className={buttonClasses} className={buttonClasses}
onClick={onOpenEditProfile} href='/settings/profile'
> >
{intl.formatMessage(messages.edit_profile)} {intl.formatMessage(messages.edit_profile)}
</Button> </Button>

View File

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