Files
MineGeo/app/play/[id]/page.tsx

9 lines
178 B
TypeScript

import { Game } from "@/components/Game";
export default async function Play({
params,
}: {
params: Promise<{ id: string }>;
}) {
return <Game id={(await params).id} />;
}