fix build errors on root page
set revalidate to 0 since PublicGames is already dynamic
This commit is contained in:
@@ -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 ">
|
||||||
|
|||||||
Reference in New Issue
Block a user