Skip to content

Commit

Permalink
Revert "Fix double click on root"
Browse files Browse the repository at this point in the history
This reverts commit ab258d1.
  • Loading branch information
sneridagh committed Jun 28, 2018
1 parent fdf535d commit 6c99bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/theme/HomeView/HomeView.jsx
Expand Up @@ -100,8 +100,8 @@ export default class HomeView extends Component {
*/
componentWillReceiveProps(nextProps) {
if (nextProps.pathname !== this.props.pathname) {
this.props.listActions(`${this.props.pathname}front-page`);
this.props.getContent(`${this.props.pathname}front-page`);
this.props.listActions(nextProps.pathname);
this.props.getContent(nextProps.pathname);
}

if (nextProps.actions.object_buttons) {
Expand Down

0 comments on commit 6c99bd8

Please sign in to comment.