Skip to content

Commit 497df84

Browse files
committed
address rabbit feedback
1 parent 639e180 commit 497df84

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function Card(props: CardProps) {
128128
() => activeOrUpcomingSubscriptionBasedOnPlanPeriod(plan, planPeriod),
129129
[plan, planPeriod, activeOrUpcomingSubscriptionBasedOnPlanPeriod],
130130
);
131-
const isPlanActive = subscription?.status === 'active';
131+
132132
const hasFeatures = plan.features.length > 0;
133133
const showStatusRow = !!subscription;
134134

packages/clerk-js/src/ui/components/SubscriptionDetails/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ import { LineItems } from '@/ui/elements/LineItems';
2828
import { SubscriberTypeContext, usePlansContext, useSubscriberTypeContext, useSubscriptions } from '../../contexts';
2929
import type { LocalizationKey } from '../../customizables';
3030
import {
31-
Badge,
3231
Button,
3332
Col,
3433
descriptors,
3534
Flex,
3635
Heading,
3736
localizationKeys,
38-
Span,
3937
Spinner,
4038
Text,
4139
useLocalizations,
@@ -279,7 +277,6 @@ function SubscriptionDetailsSummary() {
279277
const { anySubscription, activeSubscription, upcomingSubscription } = useGuessableSubscription({
280278
or: 'throw',
281279
});
282-
const { t } = useLocalizations();
283280

284281
if (!activeSubscription) {
285282
return null;

0 commit comments

Comments
 (0)