diff --git a/apps/web/src/app/tournament/[id]/create/_components/deposit-countdown/DepositCountdown.tsx b/apps/web/src/app/tournament/[id]/create/_components/deposit-countdown/DepositCountdown.tsx index 77b30f3d8..014bfe2f2 100644 --- a/apps/web/src/app/tournament/[id]/create/_components/deposit-countdown/DepositCountdown.tsx +++ b/apps/web/src/app/tournament/[id]/create/_components/deposit-countdown/DepositCountdown.tsx @@ -13,8 +13,8 @@ function DepositCountdown({ deadline, showLabel = true }: DepositCountdownProps) const { remaining } = useCountdown(deadline); return ( -
{remaining ?? '--:--:--'}
{showLabel && ' 후 담기 종료'}
diff --git a/apps/web/src/app/tournament/[id]/create/_components/participant-panel/ParticipantChip.tsx b/apps/web/src/app/tournament/[id]/create/_components/participant-panel/ParticipantChip.tsx
index 8ff4f983f..2d2ed6c33 100644
--- a/apps/web/src/app/tournament/[id]/create/_components/participant-panel/ParticipantChip.tsx
+++ b/apps/web/src/app/tournament/[id]/create/_components/participant-panel/ParticipantChip.tsx
@@ -1,5 +1,6 @@
import UserProfile from '@/components/user-profile-group/UserProfile';
import type { UserT } from '@/components/user-profile-group/userProfile.const';
+import { useGetMe } from '@/hooks/useGetMe';
type ParticipantChipProps = {
user: UserT;
@@ -7,10 +8,13 @@ type ParticipantChipProps = {
};
function ParticipantChip({ user, itemCount }: ParticipantChipProps) {
+ const { userData } = useGetMe();
+ const isMe = user.id === userData.id;
+
return (