From 4465e09f2fda54bf524682a58e4df1010e922bf8 Mon Sep 17 00:00:00 2001 From: Kevin Ansfield Date: Tue, 23 Jul 2024 14:58:48 +0100 Subject: [PATCH] Fixed missing space after account name when disconnecting Stripe no issue - line wrap immediately after the variable meant whitespace was being ignored --- .../settings/membership/stripe/StripeConnectModal.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/admin-x-settings/src/components/settings/membership/stripe/StripeConnectModal.tsx b/apps/admin-x-settings/src/components/settings/membership/stripe/StripeConnectModal.tsx index 00b909402e..524aa4eb83 100644 --- a/apps/admin-x-settings/src/components/settings/membership/stripe/StripeConnectModal.tsx +++ b/apps/admin-x-settings/src/components/settings/membership/stripe/StripeConnectModal.tsx @@ -162,8 +162,7 @@ const Connected: React.FC<{onClose?: () => void}> = ({onClose}) => { // this.ghostPaths.url.api('/members/') + '?filter=status:paid&limit=0'; NiceModal.show(ConfirmationModal, { title: 'Disconnect Stripe', - prompt: (hasActiveStripeSubscriptions ? 'Cannot disconnect while there are members with active Stripe subscriptions.' : <>You‘re about to disconnect your Stripe account {stripeConnectAccountName} - from this site. This will automatically turn off paid memberships on this site.), + prompt: (hasActiveStripeSubscriptions ? 'Cannot disconnect while there are members with active Stripe subscriptions.' : <>You‘re about to disconnect your Stripe account {stripeConnectAccountName} from this site. This will automatically turn off paid memberships on this site.), okLabel: hasActiveStripeSubscriptions ? '' : 'Disconnect', onOk: async (modal) => { try {