fix: don't cache waitlist count
This commit is contained in:
@ -2,6 +2,9 @@ import { Hero } from "@/components/landing/hero";
|
|||||||
import { Header } from "@/components/header";
|
import { Header } from "@/components/header";
|
||||||
import { getWaitlistCount } from "@/lib/waitlist";
|
import { getWaitlistCount } from "@/lib/waitlist";
|
||||||
|
|
||||||
|
// Force dynamic rendering so waitlist count updates in real-time
|
||||||
|
export const dynamic = "force-dynamic";
|
||||||
|
|
||||||
export default async function Home() {
|
export default async function Home() {
|
||||||
const signupCount = await getWaitlistCount();
|
const signupCount = await getWaitlistCount();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user