From f5e117119252b4722b0682ca410e5d94e4186b1b Mon Sep 17 00:00:00 2001 From: Abshir Date: Thu, 6 Jul 2023 15:00:22 +0100 Subject: [PATCH] use alternative condition check --- components/x-gift-article/src/v2/FooterMessage.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/x-gift-article/src/v2/FooterMessage.jsx b/components/x-gift-article/src/v2/FooterMessage.jsx index fc31f97c4..ef89ee540 100644 --- a/components/x-gift-article/src/v2/FooterMessage.jsx +++ b/components/x-gift-article/src/v2/FooterMessage.jsx @@ -15,7 +15,7 @@ export const FooterMessage = ({ showFreeArticleAlert }) => { // if the share link button has not been clicked yet - if (!isGiftUrlCreated && !isNonGiftUrlShortened) { + if (!(isGiftUrlCreated || isNonGiftUrlShortened)) { // when the user is b2b and has advanced sharing enabled if (enterpriseEnabled && !enterpriseRequestAccess) { return (