teecup/frontend/app/my-rounds/[id]/leaderboard/page.tsx

15 lines
413 B
TypeScript

import { RoundPageShell } from "@/components/round-page-shell"
import { RoundLeaderboard } from "@/components/round-leaderboard"
export default async function RoundLeaderboardPage({
params,
}: {
params: Promise<{ id: string }>
}) {
const { id } = await params
return (
<RoundPageShell roundId={id} activeTab="leaderboard">
<RoundLeaderboard roundId={id} embedded />
</RoundPageShell>
)
}