From 7f1889e2501045340c3d2f615e348732712ad81c Mon Sep 17 00:00:00 2001 From: ohinhyuk <8156217@naver.com> Date: Tue, 24 Oct 2023 03:02:41 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EB=82=98=EC=9D=98=20=EA=B7=B8=EB=A3=B9?= =?UTF-8?q?=20=ED=8E=98=EC=9D=B4=EC=A7=80=EC=97=90=EC=84=9C=20=EC=8A=A4?= =?UTF-8?q?=ED=84=B0=EB=94=94=20=EA=B7=B8=EB=A3=B9=20=EC=A0=95=EB=B3=B4=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80(#84)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- histudy-front/src/pages/Group/Group.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/histudy-front/src/pages/Group/Group.js b/histudy-front/src/pages/Group/Group.js index 3e6e51f..9efdbef 100644 --- a/histudy-front/src/pages/Group/Group.js +++ b/histudy-front/src/pages/Group/Group.js @@ -29,6 +29,8 @@ const teamMembersConverter = (teamMembers) => { }; export default function Group({ setReApply }) { + const [teamNum, setTeamNum] = useState(); + const [courses, setCourses] = useState([]); const [friends, setFriends] = useState([]); @@ -67,7 +69,7 @@ export default function Group({ setReApply }) { if (data.length === 0) setHasTeam(false); else setHasTeam(true); - + setTeamNum(data[0].tag); setConvertedTeamMembers(teamMembersConverter(data)); }, }, @@ -79,7 +81,7 @@ export default function Group({ setReApply }) { initial={{ opacity: 0 }} animate={{ opacity: 1 }} > - + <Title text={`스터디 그룹 정보 (Group ${teamNum ? teamNum : ""})`} /> {hasTeam ? ( <StyledScrollTableSize> <CustomTable