diff --git a/assets/js/src/newsletters/send/congratulate/congratulate.jsx b/assets/js/src/newsletters/send/congratulate/congratulate.jsx index 083b62896c..7534cf0704 100644 --- a/assets/js/src/newsletters/send/congratulate/congratulate.jsx +++ b/assets/js/src/newsletters/send/congratulate/congratulate.jsx @@ -77,8 +77,10 @@ class Congratulate extends React.Component { this.tick(); } - componentWillReceiveProps(props) { - this.loadNewsletter(props.match.params.id); + componentDidUpdate(prevProps) { + if (prevProps.match.params.id !== this.props.match.params.id) { + this.loadNewsletter(this.props.match.params.id); + } } tick() {