From f0350dfa5dd8839de263253b95f8df1853597476 Mon Sep 17 00:00:00 2001 From: "lkh14011424@gmail.com" Date: Wed, 18 Sep 2024 10:11:03 +0900 Subject: [PATCH] =?UTF-8?q?[feat/#46]=20=EB=82=98=EC=9D=98=20=ED=81=AC?= =?UTF-8?q?=EB=A3=A8=EA=B0=80=20=EC=95=84=EB=8B=90=20=EA=B2=BD=EC=9A=B0?= =?UTF-8?q?=EC=97=90=EB=A7=8C=20=EB=9E=AD=ED=82=B9=20=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=EA=B0=80=EB=8A=A5=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Modal/JoinCrewModal.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/Modal/JoinCrewModal.tsx b/src/components/Modal/JoinCrewModal.tsx index 1873368..5615e98 100644 --- a/src/components/Modal/JoinCrewModal.tsx +++ b/src/components/Modal/JoinCrewModal.tsx @@ -50,7 +50,9 @@ const JoinCrewModal = (props: ModalProps): React.ReactElement => {
오늘 바른자세 랭킹
-
크루에 가입하면 볼 수 있어요
+ {myGroupData?.id !== id && ( +
크루에 가입하면 볼 수 있어요
+ )}
@@ -60,7 +62,9 @@ const JoinCrewModal = (props: ModalProps): React.ReactElement => { className="flex h-[108px] w-[106px] flex-col items-center justify-center rounded-xl border border-gray-200 p-3" >
{`${r.rank}등`}
-
{`${r.name}`}
+
+ {myGroupData?.id === id ? `${r.name}` : "?"} +
))}