From f5d5557f9ecccc410fc392d1e20c2f0a11572860 Mon Sep 17 00:00:00 2001 From: Nathaniel Tampus Date: Sat, 6 May 2023 20:52:26 +0800 Subject: [PATCH] fix build errors on root page set revalidate to 0 since PublicGames is already dynamic --- client/src/app/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/app/page.tsx b/client/src/app/page.tsx index e25fe55..9ef9779 100644 --- a/client/src/app/page.tsx +++ b/client/src/app/page.tsx @@ -2,6 +2,8 @@ import PublicGames from "@/components/home/PublicGames/PublicGames"; import JoinGame from "@/components/home/JoinGame"; import CreateGame from "@/components/home/CreateGame"; +export const revalidate = 0; + export default function Home() { return (