'use client'
import Leaderboard from '@/app/components/challenge/leaderboard'
import type { LeaderboardEntry } from './types'
type LeaderboardSectionProps = {
leaderboard: LeaderboardEntry[]
scoringStrategy?: string
emptyHint: string
}
export default function LeaderboardSection({ leaderboard, scoringStrategy, emptyHint }: LeaderboardSectionProps) {
if (leaderboard.length > 0)
return