Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix

Manav Rathi0b1f6e84a3d1
diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector.tsx
index 0a62d44316..f5ccb82d80 100644
--- a/web/apps/photos/src/components/pages/gallery/PlanSelector.tsx
+++ b/web/apps/photos/src/components/pages/gallery/PlanSelector.tsx
@@ -108,7 +108,7 @@ const PlanSelectorCard: React.FC<PlanSelectorCardProps> = ({
const [plansData, setPlansData] = useState<PlansData | undefined>();
const [planPeriod, setPlanPeriod] = useState<PlanPeriod | undefined>(
- userDetails?.subscription?.period,
+ userDetails?.subscription?.period ?? "month",
);
const usage = userDetails ? planUsage(userDetails) : 0;
@@ -775,6 +775,7 @@ function StripeSubscriptionOptions({
),
continue: {
text: t("CANCEL_SUBSCRIPTION"),
+ color: "critical",
action: cancel,
},
cancel: t("NEVERMIND"),