From a70bfc8b41f3e3f69aa14490460de30009c5a3e5 Mon Sep 17 00:00:00 2001 From: ampersanded Date: Thu, 22 Aug 2024 22:33:10 -0700 Subject: [PATCH] epa over time chart --- app/[eventId]/overview/scouting-charts.tsx | 4 ++-- components/youtube-embed.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/[eventId]/overview/scouting-charts.tsx b/app/[eventId]/overview/scouting-charts.tsx index e9b466c..5eb0c9b 100644 --- a/app/[eventId]/overview/scouting-charts.tsx +++ b/app/[eventId]/overview/scouting-charts.tsx @@ -49,7 +49,7 @@ export default function ScoutingCharts({matches, forTeam}: { return scoring.sort((a, b) => a.score - b.score); } - function barChart(config: ChartConfig, data: any[], dataKey: string, labelKey: string) { + function barChart(config: ChartConfig, data: any[], dataKey: string) { return ( @@ -164,7 +164,7 @@ export default function ScoutingCharts({matches, forTeam}: { records: { label: "Records" } - }, teamRecords, "records", "teamNumber")} + }, teamRecords, "records")} diff --git a/components/youtube-embed.tsx b/components/youtube-embed.tsx index 9905904..8c15d77 100644 --- a/components/youtube-embed.tsx +++ b/components/youtube-embed.tsx @@ -3,7 +3,7 @@ import {cn} from "@/lib/utils"; import {Button} from "@/components/ui/button"; import {GetEvent} from "@/lib/database/get-event"; -import {Match} from "@/app/[eventId]/overview/[teamNumber]/matches/matches"; +import {Match} from "@/app/[eventId]/[teamNumber]/matches/matches"; export default function YoutubeEmbed({id, match, className}: { id: string | null,