From 50882ccad9c6a7b2358d23d990191e2580bde55a Mon Sep 17 00:00:00 2001 From: Charlie Luo Date: Tue, 7 Oct 2025 15:35:05 -0700 Subject: [PATCH] remove references to expired transaction discount promotion --- static/gsApp/views/subscriptionPage/overview.tsx | 15 --------------- .../performanceReservedTransactionsPromo.tsx | 4 +--- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/static/gsApp/views/subscriptionPage/overview.tsx b/static/gsApp/views/subscriptionPage/overview.tsx index 616c800922bd9c..15ab311b113233 100644 --- a/static/gsApp/views/subscriptionPage/overview.tsx +++ b/static/gsApp/views/subscriptionPage/overview.tsx @@ -117,21 +117,6 @@ function Overview({location, subscription, promotionData}: Props) { openPerformanceQuotaCreditsPromoModal({api, promotionData, organization}); return; } - - promotion = promotionData.availablePromotions?.find( - promo => promo.promptActivityTrigger === 'performance_reserved_txns_discount' - ); - - if (promotion) { - openPerformanceReservedTransactionsDiscountModal({ - api, - promotionData, - organization, - promptFeature: 'performance_reserved_txns_discount', - navigate, - }); - return; - } } // open the codecov modal if the query param is present diff --git a/static/gsApp/views/subscriptionPage/promotions/performanceReservedTransactionsPromo.tsx b/static/gsApp/views/subscriptionPage/promotions/performanceReservedTransactionsPromo.tsx index 606072e4375956..12c2ec45539851 100644 --- a/static/gsApp/views/subscriptionPage/promotions/performanceReservedTransactionsPromo.tsx +++ b/static/gsApp/views/subscriptionPage/promotions/performanceReservedTransactionsPromo.tsx @@ -16,9 +16,7 @@ type Props = { navigate: ReturnType; organization: Organization; promotionData: PromotionData; - promptFeature: - | 'performance_reserved_txns_discount' - | 'performance_reserved_txns_discount_v1'; + promptFeature: 'performance_reserved_txns_discount_v1'; }; function PromotionModalBody() {