From e488699e9f58fdad7e975059b0bc5a5cdf278616 Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Thu, 28 Apr 2022 12:31:57 +0200 Subject: [PATCH] Added close button refs https://github.com/TryGhost/Team/issues/1495 --- ghost/portal/src/components/pages/UnsubscribePage.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ghost/portal/src/components/pages/UnsubscribePage.js b/ghost/portal/src/components/pages/UnsubscribePage.js index 68d56062a2..b351e806ff 100644 --- a/ghost/portal/src/components/pages/UnsubscribePage.js +++ b/ghost/portal/src/components/pages/UnsubscribePage.js @@ -4,6 +4,7 @@ import {useContext, useEffect, useState} from 'react'; import {getSiteNewsletters} from '../../utils/helpers'; import setupGhostApi from '../../utils/api'; import NewsletterManagement from '../common/NewsletterManagement'; +import CloseButton from '../common/CloseButton'; const React = require('react'); @@ -40,6 +41,7 @@ export default function UnsubscribePage() { if (member === null) { return (
+ {/* */} {/* The header below should be in AccountHeader */}
@@ -58,6 +60,7 @@ export default function UnsubscribePage() { if (siteNewsletters?.length === 1) { return (
+ {/* */}
fdfkld