From 08d979fb1980fe0019220dbf306d0a1b78ca3918 Mon Sep 17 00:00:00 2001 From: orveth Date: Fri, 15 May 2026 09:51:17 -0700 Subject: [PATCH] fix(receive): render addCardDisclaimer for offers, not just gift cards --- app/features/receive/receive-cashu-token.tsx | 44 ++++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/app/features/receive/receive-cashu-token.tsx b/app/features/receive/receive-cashu-token.tsx index 3fbb3a48b..87e0d8570 100644 --- a/app/features/receive/receive-cashu-token.tsx +++ b/app/features/receive/receive-cashu-token.tsx @@ -286,22 +286,22 @@ export default function ReceiveToken({ {claimableToken && receiveAccount ? (
{giftCard ? ( - giftCard.purpose === 'gift-card' ? ( -
+
+ {giftCard.purpose === 'gift-card' ? ( - {giftCard.addCardDisclaimer && ( -

- {giftCard.addCardDisclaimer} -

- )} -
- ) : ( - - ) + ) : ( + + )} + {giftCard.addCardDisclaimer && ( +

+ {giftCard.addCardDisclaimer} +

+ )} +
) : ( {giftCard ? ( - giftCard.purpose === 'gift-card' ? ( -
+
+ {giftCard.purpose === 'gift-card' ? ( - {giftCard.addCardDisclaimer && ( -

- {giftCard.addCardDisclaimer} -

- )} -
- ) : ( - - ) + ) : ( + + )} + {giftCard.addCardDisclaimer && ( +

+ {giftCard.addCardDisclaimer} +

+ )} +
) : (