diff --git a/src/components/pages/profile.jsx b/src/components/pages/profile.jsx index 82fd5b0..ae9431f 100644 --- a/src/components/pages/profile.jsx +++ b/src/components/pages/profile.jsx @@ -173,7 +173,7 @@ class Profile extends React.Component { return (

Return home

-

Go to { e.preventDefault(); this.requestProfileData(this.props.username); }}>your profile

+

Go to { e.preventDefault(); this.requestProfileData(this.props.username); this.props.history.push('/profile'); }}>your profile

);