player stats in profile

This commit is contained in:
yohlo
2025-09-13 11:21:05 -05:00
parent 7d3c0a3fa4
commit 3fe92be980
7 changed files with 243 additions and 17 deletions

View File

@@ -4,6 +4,7 @@ import { Player } from "@/features/players/types";
import SwipeableTabs from "@/components/swipeable-tabs";
import { usePlayer } from "../../queries";
import TeamList from "@/features/teams/components/team-list";
import StatsOverview from "../stats-overview";
interface ProfileProps {
id: string;
@@ -14,7 +15,7 @@ const Profile = ({ id }: ProfileProps) => {
const tabs = [
{
label: "Overview",
content: <Text p="md">Stats/Badges will go here</Text>,
content: <StatsOverview playerId={id} />,
},
{
label: "Matches",