diff --git a/ghost/portal/src/components/pages/NewsletterSelectionPage.js b/ghost/portal/src/components/pages/NewsletterSelectionPage.js index c53eec9e7d..492b6e79bb 100644 --- a/ghost/portal/src/components/pages/NewsletterSelectionPage.js +++ b/ghost/portal/src/components/pages/NewsletterSelectionPage.js @@ -64,7 +64,7 @@ function NewsletterPrefs({subscribedNewsletters, setSubscribedNewsletters}) { }); } -export default function NewsletterSelectionPage({pageData}) { +export default function NewsletterSelectionPage({pageData, onBack}) { const {brandColor, site, onAction, action} = useContext(AppContext); const siteNewsletters = getSiteNewsletters({site}); const defaultNewsletters = siteNewsletters.filter((d) => { @@ -122,11 +122,7 @@ export default function NewsletterSelectionPage({pageData}) { diff --git a/ghost/portal/src/components/pages/SignupPage.js b/ghost/portal/src/components/pages/SignupPage.js index 15d87effa7..d6a35d0435 100644 --- a/ghost/portal/src/components/pages/SignupPage.js +++ b/ghost/portal/src/components/pages/SignupPage.js @@ -476,9 +476,6 @@ class SignupPage extends React.Component { return ( { - // Handle submit - }} onBack={() => { this.setState({ showNewsletterSelection: false