From 3b1fa4110b90412db61f5576c063b0b1dd6492fa Mon Sep 17 00:00:00 2001 From: Lee sang Yeop Date: Wed, 11 Oct 2023 20:58:26 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Fix:=20=ED=95=99=EA=B3=BC=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=20=EC=8B=9C=20=EC=96=B4=EB=96=A4=20=ED=95=99=EA=B3=BC?= =?UTF-8?q?=EB=A5=BC=20=EC=84=A0=ED=83=9D=ED=95=98=EA=B3=A0=20=EC=9E=88?= =?UTF-8?q?=EB=8A=94=EC=A7=80=20=EB=AA=A8=EB=8B=AC=EC=97=90=20=EB=B3=B4?= =?UTF-8?q?=EC=97=AC=EC=A3=BC=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/List/DepartmentList/DepartmentItem.tsx | 4 +++- src/constants/modal-messages.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/List/DepartmentList/DepartmentItem.tsx b/src/components/List/DepartmentList/DepartmentItem.tsx index a2f77c72..b0d65bec 100644 --- a/src/components/List/DepartmentList/DepartmentItem.tsx +++ b/src/components/List/DepartmentList/DepartmentItem.tsx @@ -63,7 +63,9 @@ const DepartmentItem = ({ resource }: DepartmentItemProps) => { }; const handleMajorConfirmModal = () => { openModal(modals.confirm, { - message: MODAL_MESSAGE.CONFIRM.SET_MAJOR, + message: + selected.substring(selected.indexOf(' ') + 1) + + MODAL_MESSAGE.CONFIRM.SET_MAJOR, onConfirmButtonClick: () => handlerMajorSetModal(), onCancelButtonClick: () => closeModal(modals.confirm), }); diff --git a/src/constants/modal-messages.ts b/src/constants/modal-messages.ts index 56249c1c..b91f67f0 100644 --- a/src/constants/modal-messages.ts +++ b/src/constants/modal-messages.ts @@ -1,7 +1,7 @@ export const MODAL_MESSAGE = { SUGGESTION_TITLE: '건의사항', CONFIRM: { - SET_MAJOR: '이 전공으로 선택할까요?', + SET_MAJOR: '(으)로 선택할까요?', EDIT_MAJOR: '이 전공으로 수정할까요?', POST_SUGGESTION: '건의사항을 보내시겠어요?', STOP_ALARM: '알림을 그만 받을까요?', From 7e16098ac6b592f7cb769809c1cb7cec1f333b10 Mon Sep 17 00:00:00 2001 From: Lee sang Yeop Date: Wed, 11 Oct 2023 21:06:06 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Fix:=20=EC=95=8C=EB=A6=BC=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=20=EC=8B=9C=20=EB=B3=B4=EC=9D=B4=EB=8A=94=20=ED=85=8D?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EA=B8=80=EC=9E=90=EC=88=98=20=EB=8B=A8?= =?UTF-8?q?=EC=B6=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/constants/modal-messages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/modal-messages.ts b/src/constants/modal-messages.ts index b91f67f0..a95ceb70 100644 --- a/src/constants/modal-messages.ts +++ b/src/constants/modal-messages.ts @@ -6,7 +6,7 @@ export const MODAL_MESSAGE = { POST_SUGGESTION: '건의사항을 보내시겠어요?', STOP_ALARM: '알림을 그만 받을까요?', GET_ALARM: - '알림은 9시부터 18시 사이에 보내드려요!\n새로운 공지사항이 올라오면 푸시 알림을 받을까요?', + '알림은 9시부터 18시 사이에 보내드려요\n새로운 공지가 올라오면 푸시 알림을 받을까요?', }, ALERT: { OVER_MAP_BOUNDARY: '앗! 지도의 영역을 벗어났어요',