pollo/src/app/room/[id]/page.tsx

19 lines
472 B
TypeScript
Raw Normal View History

2023-09-01 19:43:15 -06:00
import VoteUI from "@/app/_components/VoteUI";
2023-09-06 12:53:48 -06:00
import { Suspense } from "react";
2023-08-27 23:57:17 -06:00
2023-09-03 16:04:35 -06:00
export const runtime = "edge";
export const preferredRegion = ["pdx1"];
2023-09-05 18:16:28 -06:00
export const dynamic = "force-dynamic";
export const revalidate = 0;
export const fetchCache = "force-no-store";
2023-04-20 04:20:00 -06:00
2023-09-01 19:43:15 -06:00
export default async function Room() {
2023-04-20 04:20:00 -06:00
return (
2023-08-29 18:14:54 -06:00
<div className="flex flex-col items-center justify-center text-center gap-2">
2023-09-06 12:53:48 -06:00
<Suspense>
<VoteUI />
</Suspense>
2023-08-29 18:14:54 -06:00
</div>
2023-04-20 04:20:00 -06:00
);
2023-09-01 19:43:15 -06:00
}