Fix react warning when updating unmounted component
[MAILPOET-1597]
This commit is contained in:
@@ -324,8 +324,6 @@ const NewsletterSend = createReactClass({ // eslint-disable-line react/prefer-es
|
||||
endpoint: 'newsletters',
|
||||
action: 'save',
|
||||
data: newsletterData,
|
||||
}).always(() => {
|
||||
this.setState({ loading: false });
|
||||
});
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user