Skip to content

Commit cda21e0

Browse files
committed
Add force-dynamic to Stripe-related pages
1 parent ceba683 commit cda21e0

File tree

3 files changed

+6
-0
lines changed
  • apps/dashboard/src/app/(app)/(stripe)

3 files changed

+6
-0
lines changed

apps/dashboard/src/app/(app)/(stripe)/cancel-plan/[team_id]/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { redirect } from "next/navigation";
22
import { StripeRedirectErrorPage } from "../../_components/StripeRedirectErrorPage";
33
import { getPlanCancelUrl } from "../../utils/billing";
44

5+
export const dynamic = "force-dynamic";
6+
57
export default async function CancelPlanPage(props: {
68
params: Promise<{
79
team_id: string;

apps/dashboard/src/app/(app)/(stripe)/checkout/[team_slug]/[sku]/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import {
77
getInvoicePaymentUrl,
88
} from "../../../utils/billing";
99

10+
export const dynamic = "force-dynamic";
11+
1012
export default async function CheckoutPage(props: {
1113
params: Promise<{
1214
team_slug: string;

apps/dashboard/src/app/(app)/(stripe)/manage-billing/[team_slug]/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import { redirect } from "next/navigation";
22
import { StripeRedirectErrorPage } from "../../_components/StripeRedirectErrorPage";
33
import { getBillingPortalUrl } from "../../utils/billing";
44

5+
export const dynamic = "force-dynamic";
6+
57
export default async function ManageBillingPage(props: {
68
params: Promise<{
79
team_slug: string;

0 commit comments

Comments
 (0)