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

17 lines
425 B
TypeScript
Raw Normal View History

2023-09-06 12:57:13 -06:00
import Loading from "@/app/_components/Loading";
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-04-20 04:20:00 -06:00
2023-09-06 13:00:01 -06:00
export default 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:57:13 -06:00
<Suspense fallback={<Loading />}>
2023-09-06 12:53:48 -06:00
<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
}