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',
|
endpoint: 'newsletters',
|
||||||
action: 'save',
|
action: 'save',
|
||||||
data: newsletterData,
|
data: newsletterData,
|
||||||
}).always(() => {
|
|
||||||
this.setState({ loading: false });
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user