12 lines
348 B
TypeScript
12 lines
348 B
TypeScript
import { Suspense } from "react";
|
|
import GamePageContentF from "./content";
|
|
|
|
// page.tsx (Server Component)
|
|
export default async function GamePageContent({ params }: { params: { id: string } }) {
|
|
return (
|
|
<Suspense fallback={<div className="p-4">Loading profile…</div>}>
|
|
<GamePageContentF placeId={(await params).id} />
|
|
</Suspense>
|
|
);
|
|
}
|