diff --git a/src/sentry/static/sentry/app/views/app.jsx b/src/sentry/static/sentry/app/views/app.jsx index 6bdc989ca58a..e2e3611f7054 100644 --- a/src/sentry/static/sentry/app/views/app.jsx +++ b/src/sentry/static/sentry/app/views/app.jsx @@ -200,16 +200,13 @@ class App extends React.Component { e.stopPropagation(); } - onConfigured() { - this.setState({needsUpgrade: false}); - } + onConfigured = () => this.setState({needsUpgrade: false}); - handleNewsletterConsent = () => { - // this is somewhat hackish + // this is somewhat hackish + handleNewsletterConsent = () => this.setState({ newsletterConsentPrompt: false, }); - }; handleGlobalModalClose = () => { if (!this.mainContainerRef) {