From 036846de0c1e7dca17643ec8090a8455f8abd9ff Mon Sep 17 00:00:00 2001 From: nimod7890 Date: Thu, 15 Aug 2024 12:36:30 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=A0=88=EC=9D=B4=EC=8B=B1=20?= =?UTF-8?q?=EB=8C=80=EC=8B=9C=EB=B3=B4=EB=93=9C=20props=20->=20racing=20so?= =?UTF-8?q?cket=20hook=20return=20type=20=EC=82=AC=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../user/src/components/event/racing/dashboard/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/user/src/components/event/racing/dashboard/index.tsx b/packages/user/src/components/event/racing/dashboard/index.tsx index 828bf779..d6dcf8c4 100644 --- a/packages/user/src/components/event/racing/dashboard/index.tsx +++ b/packages/user/src/components/event/racing/dashboard/index.tsx @@ -1,15 +1,14 @@ import { CATEGORIES } from '@softeer/common/constants'; import type { Category } from '@softeer/common/types'; import { Suspense } from 'react'; -import type { RankStatus } from 'src/types/racing.d.ts'; +import { UseRacingSocketReturnType } from 'src/hooks/socket/useRacingSocket.ts'; import Background from './Background.tsx'; import RacingCard from './card/index.tsx'; import Casper from './Casper.tsx'; import RacingTitle from './RacingTitle.tsx'; import EventTimer from './timer/index.tsx'; -interface RacingDashboardProps { - ranks: RankStatus; +interface RacingDashboardProps extends Pick { chargedCar: Category | null; }