diff --git a/ghost/portal/src/components/pages/AccountHomePage.js b/ghost/portal/src/components/pages/AccountHomePage.js index c8677b52bd..ab112edfbf 100644 --- a/ghost/portal/src/components/pages/AccountHomePage.js +++ b/ghost/portal/src/components/pages/AccountHomePage.js @@ -250,7 +250,7 @@ const AccountActions = () => { const onToggleSubscription = (e, sub) => { e.preventDefault(); - this.context.onAction('updateNewsletter', {subscribed: !sub}); + onAction('updateNewsletter', {subscribed: !sub}); }; let label = subscribed ? 'Subscribed' : 'Unsubscribed';