diff --git a/app/javascript/gabsocial/components/panel/user_panel.js b/app/javascript/gabsocial/components/panel/user_panel.js index 2f80e3b4..80bfb7c5 100644 --- a/app/javascript/gabsocial/components/panel/user_panel.js +++ b/app/javascript/gabsocial/components/panel/user_panel.js @@ -98,7 +98,7 @@ class UserPanel extends ImmutablePureComponent { backgroundColor='secondary' radiusSmall className={buttonClasses} - onClick={onOpenEditProfile} + href='/settings/profile' > {intl.formatMessage(messages.edit_profile)} diff --git a/app/javascript/gabsocial/components/profile_header.js b/app/javascript/gabsocial/components/profile_header.js index ace68689..c95bd076 100644 --- a/app/javascript/gabsocial/components/profile_header.js +++ b/app/javascript/gabsocial/components/profile_header.js @@ -193,7 +193,7 @@ class ProfileHeader extends ImmutablePureComponent { backgroundColor='none' color='brand' className={[_s.justifyContentCenter, _s.alignItemsCenter].join(' ')} - onClick={this.handleOnEditProfile} + href='/settings/profile' > {intl.formatMessage(messages.editProfile)}