diff --git a/app/[locale]/coming-soon/page.tsx b/app/[locale]/coming-soon/page.tsx index 6826e12..62755c6 100644 --- a/app/[locale]/coming-soon/page.tsx +++ b/app/[locale]/coming-soon/page.tsx @@ -1,4 +1,5 @@ import type { Metadata } from "next"; +import { unstable_noStore as noStore } from "next/cache"; import { Sparkles } from "lucide-react"; import { getTranslations } from "next-intl/server"; @@ -15,7 +16,11 @@ type ComingSoonPageProps = { }>; }; +export const dynamic = "force-dynamic"; +export const revalidate = 0; + export async function generateMetadata({ params }: ComingSoonPageProps): Promise { + noStore(); const { locale } = await params; const localeKey = resolveLocale(locale); const t = await getTranslations({ locale: localeKey, namespace: "comingSoon" }); @@ -33,6 +38,7 @@ export async function generateMetadata({ params }: ComingSoonPageProps): Promise export default async function ComingSoonPage({ params, }: ComingSoonPageProps) { + noStore(); const { locale } = await params; const localeKey = resolveLocale(locale); const [t, siteSettings] = await Promise.all([