player stats in profile
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user