Skip to content

Commit

Permalink
epa over time chart
Browse files Browse the repository at this point in the history
  • Loading branch information
salvobonsma committed Aug 23, 2024
1 parent a91a339 commit a70bfc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/[eventId]/overview/scouting-charts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<ChartContainer config={config} className="h-48 w-full">
<BarChart accessibilityLayer data={data}>
Expand Down Expand Up @@ -164,7 +164,7 @@ export default function ScoutingCharts({matches, forTeam}: {
records: {
label: "Records"
}
}, teamRecords, "records", "teamNumber")}
}, teamRecords, "records")}
</CardContent>
</Card>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/youtube-embed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a70bfc8

Please sign in to comment.