Files
roblox/app/users/[id]/page.tsx
2025-12-27 16:57:19 +02:00

16 lines
354 B
TypeScript

import { Suspense } from "react";
import UserProfileContent from "./content";
// page.tsx (Server Component)
export default async function UserProfilePage({
params
}: {
params: { id: string };
}) {
return (
<Suspense fallback={<div className="p-4">Loading profile</div>}>
<UserProfileContent userId={(await params).id} />
</Suspense>
);
}