diff --git a/frontend/src/components/profile/profile.js b/frontend/src/components/profile/profile.js index 5a09c1301..91f93de24 100644 --- a/frontend/src/components/profile/profile.js +++ b/frontend/src/components/profile/profile.js @@ -137,7 +137,7 @@ class Profile extends Component { setActive (path) { switch (path) { - case '/profile/tasks': + case '/profile/tasks/0': this.setState({ selected: 0 }) break case '/profile/payment-options': @@ -330,7 +330,7 @@ class Profile extends Component { this.props.history.push('/profile/tasks') } + onClick={ () => this.props.history.push('/profile/tasks/0') } className={ classes.menuItem } selected={ this.state.selected === 0 } >