fix build errors on root page

set revalidate to 0 since PublicGames is already dynamic
This commit is contained in:
Nathaniel Tampus
2023-05-06 20:52:26 +08:00
parent ee5c5d37a4
commit f5d5557f9e

View File

@@ -2,6 +2,8 @@ import PublicGames from "@/components/home/PublicGames/PublicGames";
import JoinGame from "@/components/home/JoinGame"; import JoinGame from "@/components/home/JoinGame";
import CreateGame from "@/components/home/CreateGame"; import CreateGame from "@/components/home/CreateGame";
export const revalidate = 0;
export default function Home() { export default function Home() {
return ( return (
<div className="flex w-full flex-wrap items-center justify-center gap-8 px-4 py-10 lg:gap-16 "> <div className="flex w-full flex-wrap items-center justify-center gap-8 px-4 py-10 lg:gap-16 ">