Skip to content

Commit

Permalink
refactor: force dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
ItaloMedici committed Feb 10, 2025
1 parent 86a0aab commit b480b07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/(marketing)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { Hero } from "./_components/hero";
import { HowItWorks } from "./_components/how-it-works";
import { Pricings } from "./_components/pricings";

export const dynamic = "force-dynamic";

const MarketingPage = async () => {
const pricings = await getPlanPricings();

Expand Down
2 changes: 2 additions & 0 deletions app/(marketing)/pricing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import { PricingSection } from "@/components/pricing";
import { getPlanPricings } from "@/use-cases/plan/get-pricings";
import { redirect } from "next/navigation";

export const dynamic = "force-dynamic";

export default async function PricingPage() {
const pricings = await getPlanPricings();

Expand Down

0 comments on commit b480b07

Please sign in to comment.