Skip to content

Commit

Permalink
Fix load auto-follow stats load as middleware was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
sebelga committed Dec 28, 2018
1 parent 35e3307 commit 7ff2519
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const AutoFollowPatternList = injectI18n(
}

componentDidUpdate(prevProps, prevState) {
const { history } = this.props;
const { history, loadAutoFollowStats } = this.props;
const { lastAutoFollowPatternId } = this.state;

/**
Expand All @@ -78,6 +78,8 @@ export const AutoFollowPatternList = injectI18n(
history.replace({
search: `?pattern=${encodeURIComponent(lastAutoFollowPatternId)}`,
});

loadAutoFollowStats();
}
}
}
Expand Down

0 comments on commit 7ff2519

Please sign in to comment.