From 04624a34c9d089d194f98b588feef65203f1c840 Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Sat, 9 Sep 2023 19:41:37 -0600 Subject: [PATCH] One more fix --- src/app/dashboard/page.tsx | 6 ------ src/app/room/[id]/page.tsx | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index ad7a1ba..687dd36 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -4,12 +4,6 @@ import { GiStarFormation } from "react-icons/gi"; import { isAdmin, isVIP } from "@/utils/helpers"; import { currentUser } from "@clerk/nextjs"; -// export const runtime = "edge"; -// export const preferredRegion = ["pdx1"]; -// export const dynamic = "force-dynamic"; -// export const revalidate = 0; -// export const fetchCache = "force-no-store"; - export default async function Dashboard() { const user = await currentUser(); diff --git a/src/app/room/[id]/page.tsx b/src/app/room/[id]/page.tsx index f9e8952..f6e965c 100644 --- a/src/app/room/[id]/page.tsx +++ b/src/app/room/[id]/page.tsx @@ -1,11 +1,5 @@ import VoteUI from "@/app/_components/VoteUI"; -// export const runtime = "edge"; -// export const preferredRegion = ["pdx1"]; -// export const dynamic = "force-dynamic"; -// export const revalidate = 0; -// export const fetchCache = "force-no-store"; - export default function Room() { return (