From 282657b67bc90abad69845874bc28daf36e36a36 Mon Sep 17 00:00:00 2001 From: Doeun Kim Date: Mon, 26 Aug 2024 23:55:09 +0900 Subject: [PATCH] =?UTF-8?q?fix(web-domains):=20answers=20=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=ED=8E=98=EC=9D=B4=EC=A7=80=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=ED=94=84=EB=A1=9C=ED=95=84=20=ED=81=B4=EB=A6=AD=20?= =?UTF-8?q?=EC=8B=9C=20=EC=9E=98=EB=AA=BB=EB=90=9C=20=EB=A7=81=ED=81=AC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20(#149)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../result/features/list/components/MemberList/MemberList.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/web-domains/src/result/features/list/components/MemberList/MemberList.tsx b/packages/web-domains/src/result/features/list/components/MemberList/MemberList.tsx index 053f212f..e3348983 100644 --- a/packages/web-domains/src/result/features/list/components/MemberList/MemberList.tsx +++ b/packages/web-domains/src/result/features/list/components/MemberList/MemberList.tsx @@ -1,6 +1,7 @@ import { useRouter } from 'next/navigation'; import { CSSProperties } from 'react'; +import { useConvertTypeParams } from '@/about-me/features/hooks/useConvertTypeParams'; import { SelectedAnswerResponse } from '@/result/common/apis/schema/SelectedAnswerResponse'; import { MemberListItem } from '../MemberListItem/MemberListItem'; @@ -12,6 +13,7 @@ interface MemberListProps { export const MemberList = (props: MemberListProps) => { const { members } = props; const router = useRouter(); + const { meetingId } = useConvertTypeParams(); const style = { display: 'flex', @@ -26,7 +28,7 @@ export const MemberList = (props: MemberListProps) => { imgUrl={member.profileImageFileUrl} name={member.name} isOwner={member.role === 'OWNER'} - onClick={() => router.push(`/about/${member.meetingMemberId}`)} + onClick={() => router.push(`/${meetingId}/about/${member.meetingMemberId}`)} /> ))}