diff --git a/src/pages/stats/StatsPage.tsx b/src/pages/stats/StatsPage.tsx index 5f8ac1e2..407d7f97 100644 --- a/src/pages/stats/StatsPage.tsx +++ b/src/pages/stats/StatsPage.tsx @@ -8,7 +8,9 @@ import { } from '@mui/material' import { useQuery } from '@tanstack/react-query' import BottomSection from 'components/BottomSection' +import LinkSpan from 'components/LinkSpan' import { useState } from 'react' +import { Link } from 'react-router-dom' import { fetchPlayers, fetchStats } from 'utils/api' import { getPlayerColor, Player, PlayerStats } from 'utils/types' @@ -100,7 +102,17 @@ export default function StatsPage() { {playersStatsByPosition.map((playerStat, index) => ( {index + 1} - {playersById[playerStat.id].name} + + + + {playersById[playerStat.id].name} + + + {playerStat.map_position} {getPlayerScore(playerStat)} {playerStat.games_completed}