From 7e50bd96734a67204f9d823963ee7aeb40b22f32 Mon Sep 17 00:00:00 2001 From: v0 Date: Wed, 11 Mar 2026 05:37:59 +0000 Subject: [PATCH] fix: correct JSX structure in card header\n\nProperly wrap badge and PayPal button in flex container. --- app/(app)/payments/payments-client.tsx | 36 ++++++++++++++------------ 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/app/(app)/payments/payments-client.tsx b/app/(app)/payments/payments-client.tsx index 077f53a..fe765e4 100644 --- a/app/(app)/payments/payments-client.tsx +++ b/app/(app)/payments/payments-client.tsx @@ -154,23 +154,25 @@ export function PaymentsClient({ payments: initialPayments, members, integration

{platform.toUpperCase()}

- {platform !== 'cash' && ( - - {integration?.is_connected ? 'LIVE' : 'NOT CONNECTED'} - - )} - {platform === 'paypal' && integration?.is_connected && canEdit(currentRole) && ( - - )} +
+ {platform !== 'cash' && ( + + {integration?.is_connected ? 'LIVE' : 'NOT CONNECTED'} + + )} + {platform === 'paypal' && integration?.is_connected && canEdit(currentRole) && ( + + )} +

${total.toFixed(0)}