Fixed missing space after account name when disconnecting Stripe

no issue

- line wrap immediately after the variable meant whitespace was being ignored
This commit is contained in:
Kevin Ansfield 2024-07-23 14:58:48 +01:00
parent 00d2cc9f44
commit 4465e09f2f

View File

@ -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&lsquo;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&lsquo;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 {