From 5f975f79b639a4bbb5dec402802357fad861dcb6 Mon Sep 17 00:00:00 2001 From: jonghun Date: Mon, 23 Sep 2024 20:00:54 +0900 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D=20=EC=8B=9C,=20=ED=8C=9D=EC=97=85=20?= =?UTF-8?q?=EB=AC=B8=EA=B5=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Trade/Quill/index.tsx | 2 +- src/hooks/useToastMessageType.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Trade/Quill/index.tsx b/src/components/Trade/Quill/index.tsx index 7a78834..30d2d1e 100644 --- a/src/components/Trade/Quill/index.tsx +++ b/src/components/Trade/Quill/index.tsx @@ -105,7 +105,7 @@ export default function TradeQuill({ alert('게시글이 임시저장 되었습니다.'); queryClient.refetchQueries([QueryKeys.MY_SAVES]); } else { - handleToastMessageProps('POST_UPDATE_SUCCESS', () => { + handleToastMessageProps('POST_CREATE_SUCCESS', () => { handleModalClose(); navigate(`/trade`); }); diff --git a/src/hooks/useToastMessageType.ts b/src/hooks/useToastMessageType.ts index c8b0fe4..b19bb83 100644 --- a/src/hooks/useToastMessageType.ts +++ b/src/hooks/useToastMessageType.ts @@ -50,7 +50,7 @@ export const TOAST_MESSAGE: ToastMessageType = { iconType: 'SUCCESS', }, POST_CREATE_ERROR: { - message: '게시글 등록에 실패했습니다.', + message: '에 실패했습니다.', subMessage: '잠시 후 다시 시도해주세요.', iconType: 'ERROR', }, From 340d2ff73abb7cab97451a25a252a59b8e207953 Mon Sep 17 00:00:00 2001 From: jonghun Date: Mon, 23 Sep 2024 21:40:19 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D=20=ED=8C=9D=EC=97=85=20=EB=AC=B8=EA=B5=AC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useToastMessageType.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useToastMessageType.ts b/src/hooks/useToastMessageType.ts index b19bb83..c8b0fe4 100644 --- a/src/hooks/useToastMessageType.ts +++ b/src/hooks/useToastMessageType.ts @@ -50,7 +50,7 @@ export const TOAST_MESSAGE: ToastMessageType = { iconType: 'SUCCESS', }, POST_CREATE_ERROR: { - message: '에 실패했습니다.', + message: '게시글 등록에 실패했습니다.', subMessage: '잠시 후 다시 시도해주세요.', iconType: 'ERROR', },