From bea440d2ce77082bdf20d56c6dcf3530e8832008 Mon Sep 17 00:00:00 2001 From: semnil5202 Date: Wed, 21 Aug 2024 22:39:24 +0900 Subject: [PATCH 1/2] =?UTF-8?q?refactor:=20=EB=8B=A4=EC=9D=8C=20=EC=A7=88?= =?UTF-8?q?=EB=AC=B8=EC=9D=B8=20=EA=B3=B5=EC=9C=A0=20nextTarget=20field=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=EB=B0=8F=20=EC=B9=B4=EC=B9=B4=EC=98=A4=20?= =?UTF-8?q?=EA=B3=B5=EC=9C=A0=ED=95=98=EA=B8=B0=EC=97=90=20=EC=A0=81?= =?UTF-8?q?=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../features/share-group/types/index.ts | 15 +++++++++------ .../ShareNextQuestionerContainer.tsx | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/packages/web-domains/src/relay-question/features/share-group/types/index.ts b/packages/web-domains/src/relay-question/features/share-group/types/index.ts index d1c34541..f48977d5 100644 --- a/packages/web-domains/src/relay-question/features/share-group/types/index.ts +++ b/packages/web-domains/src/relay-question/features/share-group/types/index.ts @@ -1,3 +1,10 @@ +interface TargetMember { + meetingMemberId: number; + name: string; + profileImageFileUrl: string; + role: string; +} + export interface ActiveQuestionResponse { meetingQuestionId: number; questionImageFileUrl: string; @@ -9,10 +16,6 @@ export interface ActiveQuestionResponse { startTime: string; isAnswered: boolean; isQuestionRegistered: boolean; - targetMember: { - meetingMemberId: number; - name: string; - profileImageFileUrl: string; - role: string; - }; + targetMember: TargetMember; + nextTargetMember: TargetMember; } diff --git a/packages/web-domains/src/relay-question/features/share-next-questioner/containers/ShareNextQuestionerContainer/ShareNextQuestionerContainer.tsx b/packages/web-domains/src/relay-question/features/share-next-questioner/containers/ShareNextQuestionerContainer/ShareNextQuestionerContainer.tsx index 5fde66b7..b443af53 100644 --- a/packages/web-domains/src/relay-question/features/share-next-questioner/containers/ShareNextQuestionerContainer/ShareNextQuestionerContainer.tsx +++ b/packages/web-domains/src/relay-question/features/share-next-questioner/containers/ShareNextQuestionerContainer/ShareNextQuestionerContainer.tsx @@ -66,7 +66,7 @@ export const ShareNextQuestionerContainer = () => { topTitle="다음 릴레이 질문인에게" bottomTitle="공유해 보세요!" shareImageUrl={KAKAO_IMAGE_URL} - shareDescription={`다음 질문인은 ${activeQuestion?.targetMember.name}님이에요! 현재 진행 중인 릴레이 질문이 끝나면 질문을 꼭! 생성해주세요`} + shareDescription={`다음 질문인은 ${activeQuestion?.nextTargetMember?.name || '000'}님이에요! 현재 진행 중인 릴레이 질문이 끝나면 질문을 꼭! 생성해주세요`} shareLink={`${getWebDomain()}/answer/opening`} /> From f1066ec6c2efae713b6f6261af7ff168609d4be3 Mon Sep 17 00:00:00 2001 From: semnil5202 Date: Wed, 21 Aug 2024 22:39:55 +0900 Subject: [PATCH 2/2] =?UTF-8?q?refactor:=20=EB=B2=84=ED=8A=BC=20=EB=94=94?= =?UTF-8?q?=EC=9E=90=EC=9D=B8=20=EC=8B=9C=EC=95=88=EC=97=90=20=EB=A7=9E?= =?UTF-8?q?=EA=B2=8C=20large=EB=A1=9C=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ShareNextQuestionerContainer.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/web-domains/src/relay-question/features/share-next-questioner/containers/ShareNextQuestionerContainer/ShareNextQuestionerContainer.tsx b/packages/web-domains/src/relay-question/features/share-next-questioner/containers/ShareNextQuestionerContainer/ShareNextQuestionerContainer.tsx index b443af53..3157a232 100644 --- a/packages/web-domains/src/relay-question/features/share-next-questioner/containers/ShareNextQuestionerContainer/ShareNextQuestionerContainer.tsx +++ b/packages/web-domains/src/relay-question/features/share-next-questioner/containers/ShareNextQuestionerContainer/ShareNextQuestionerContainer.tsx @@ -54,7 +54,9 @@ export const ShareNextQuestionerContainer = () => { 다음 질문인에게 공유하기 - +