Skip to content

Commit

Permalink
use alternative condition check
Browse files Browse the repository at this point in the history
  • Loading branch information
abshirahmed committed Jul 6, 2023
1 parent dfc7aae commit f5e1171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/x-gift-article/src/v2/FooterMessage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit f5e1171

Please sign in to comment.