From 4ff20469651f35d5adc7dbb3be48a7f687ae9b51 Mon Sep 17 00:00:00 2001 From: woogie0303 Date: Thu, 18 Apr 2024 12:49:15 +0900 Subject: [PATCH] =?UTF-8?q?fix:=207.3.1-3=20=EC=98=88=EC=A0=9C=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- "7\354\236\245/7.3.1-3.ts" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/7\354\236\245/7.3.1-3.ts" "b/7\354\236\245/7.3.1-3.ts" index 2c84417..8d26077 100644 --- "a/7\354\236\245/7.3.1-3.ts" +++ "b/7\354\236\245/7.3.1-3.ts" @@ -4,7 +4,7 @@ const onClickDeleteHistoryButton = async (id: string) => { alert("주문 내역이 삭제되었습니다."); } catch (error: unknown) { - if (isServerError(e) && e.response && e.response.data.errorMessage) { + if (isServerError(error) && error.response && error.response.data.errorMessage) { // 서버 에러일 때의 처리임을 명시적으로 알 수 있다 setErrorMessage(e.response.data.errorMessage); return; }