Skip to content

Commit 3ec62b5

Browse files
committed
remove Escrows tab from credit cards business management — not supported
1 parent fc3c2ed commit 3ec62b5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/app/businesses/[id]/page.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { StripeConnectTab } from '@/components/business/StripeConnectTab';
1212
import { StripeTransactionsTab } from '@/components/business/StripeTransactionsTab';
1313
import { StripeDisputesTab } from '@/components/business/StripeDisputesTab';
1414
import { StripePayoutsTab } from '@/components/business/StripePayoutsTab';
15-
import { StripeEscrowsTab } from '@/components/business/StripeEscrowsTab';
15+
1616
import { StripeWebhooksTab } from '@/components/business/StripeWebhooksTab';
1717
import { StripeApiKeysTab } from '@/components/business/StripeApiKeysTab';
1818

@@ -29,7 +29,6 @@ const CARD_TABS: { id: TabType; label: string }[] = [
2929
{ id: 'stripe-transactions', label: 'Transactions' },
3030
{ id: 'stripe-disputes', label: 'Disputes' },
3131
{ id: 'stripe-payouts', label: 'Payouts' },
32-
{ id: 'stripe-escrows', label: 'Escrows' },
3332
{ id: 'stripe-webhooks', label: 'Webhooks' },
3433
{ id: 'stripe-api-keys', label: 'API Keys' },
3534
];
@@ -282,10 +281,6 @@ export default function BusinessDetailPage() {
282281
<StripePayoutsTab businessId={businessId} />
283282
)}
284283

285-
{activeTab === 'stripe-escrows' && (
286-
<StripeEscrowsTab businessId={businessId} />
287-
)}
288-
289284
{activeTab === 'stripe-webhooks' && (
290285
<StripeWebhooksTab businessId={businessId} />
291286
)}

0 commit comments

Comments
 (0)