From 0dc73ea6fc595f8729624d39d8b678cf3d63ba34 Mon Sep 17 00:00:00 2001 From: SNXWXH Date: Tue, 23 Jul 2024 16:05:36 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20=EB=B9=8C=EB=93=9C=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(main)/player/batter/catcher/[catcherId]/page.tsx | 2 +- src/app/(main)/player/batter/infielder/[infielderId]/page.tsx | 2 +- .../(main)/player/batter/outfielder/[outfielderId]/page.tsx | 2 +- src/app/(main)/player/pitcher/[pitcherId]/page.tsx | 2 +- src/components/player/PlayerDetail.tsx | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/(main)/player/batter/catcher/[catcherId]/page.tsx b/src/app/(main)/player/batter/catcher/[catcherId]/page.tsx index c3629d2..811eba5 100644 --- a/src/app/(main)/player/batter/catcher/[catcherId]/page.tsx +++ b/src/app/(main)/player/batter/catcher/[catcherId]/page.tsx @@ -70,7 +70,7 @@ export default async function CatcherDetail({ params }: CatcherPageProps) { return
Player not found
; } const playerProfile: IPlayerBack = player.data.gameplayer; - const playerData: IBatterPlayerData = player.data.seasonsummary; + // const playerData: IBatterPlayerData = player.data.seasonsummary; const playerYearRecord: TBatterYearRecord[] = player.data.yearrecordlist; // 예측 API diff --git a/src/app/(main)/player/batter/infielder/[infielderId]/page.tsx b/src/app/(main)/player/batter/infielder/[infielderId]/page.tsx index 44fd4fb..15e3d19 100644 --- a/src/app/(main)/player/batter/infielder/[infielderId]/page.tsx +++ b/src/app/(main)/player/batter/infielder/[infielderId]/page.tsx @@ -69,7 +69,7 @@ export default async function InfielderDetail({ params }: InfielderPageProps) { return
Player not found
; } const playerProfile: IPlayerBack = player.data.gameplayer; - const playerData: IBatterPlayerData = player.data.seasonsummary; + // const playerData: IBatterPlayerData = player.data.seasonsummary; const playerYearRecord: TBatterYearRecord[] = player.data.yearrecordlist; // 예측 API diff --git a/src/app/(main)/player/batter/outfielder/[outfielderId]/page.tsx b/src/app/(main)/player/batter/outfielder/[outfielderId]/page.tsx index a24d8bb..a50653d 100644 --- a/src/app/(main)/player/batter/outfielder/[outfielderId]/page.tsx +++ b/src/app/(main)/player/batter/outfielder/[outfielderId]/page.tsx @@ -74,7 +74,7 @@ export default async function OutfielderDetail({ return
Player not found
; } const playerProfile: IPlayerBack = player.data.gameplayer; - const playerData: IBatterPlayerData = player.data.seasonsummary; + // const playerData: IBatterPlayerData = player.data.seasonsummary; const playerYearRecord: TBatterYearRecord[] = player.data.yearrecordlist; // 예측 API const predictionRes: Response = await fetch( diff --git a/src/app/(main)/player/pitcher/[pitcherId]/page.tsx b/src/app/(main)/player/pitcher/[pitcherId]/page.tsx index 8d98a63..97a0b83 100644 --- a/src/app/(main)/player/pitcher/[pitcherId]/page.tsx +++ b/src/app/(main)/player/pitcher/[pitcherId]/page.tsx @@ -70,7 +70,7 @@ export default async function PitcherDetail({ params }: PitcherPageProps) { return
Player not found
; } const playerProfile: IPlayerBack = player.data.gameplayer; - const playerData: IPitcherPlayerData = player.data.seasonsummary; + // const playerData: IPitcherPlayerData = player.data.seasonsummary; const playerYearRecord: TPitcherYearRecord[] = player.data.yearrecordlist; // 예측 API const predictionRes: Response = await fetch( diff --git a/src/components/player/PlayerDetail.tsx b/src/components/player/PlayerDetail.tsx index d267d11..83bb7eb 100644 --- a/src/components/player/PlayerDetail.tsx +++ b/src/components/player/PlayerDetail.tsx @@ -8,8 +8,8 @@ import { TPitcherMetric, TCatcherMetric, TInfielderMetric, - IPitcherPlayerData, - IBatterPlayerData, + // IPitcherPlayerData, + // IBatterPlayerData, } from '@/types'; interface PlayerDetailProps {