import ScoreSaberPlayer from "@/common/model/player/impl/scoresaber-player"; import ScoreSaberScoreToken from "@/common/model/token/scoresaber/score-saber-score-token"; import Image from "next/image"; import Link from "next/link"; type Props = { /** * The player who set the score. */ player?: ScoreSaberPlayer; /** * The score to display. */ score: ScoreSaberScoreToken; }; export default function LeaderboardPlayer({ player, score }: Props) { const scorePlayer = score.leaderboardPlayerInfo; const isPlayerWhoSetScore = player && scorePlayer.id === player.id; return (
Song Artwork

{scorePlayer.name}

); }