catch 수정 및 불필요 api 삭제 api 변경 내역 수정
This commit is contained in:
@@ -19,10 +19,6 @@ export const API_URL_TRANSACTION = {
|
||||
// POST: 거래 엑셀 다운로드
|
||||
return `${API_BASE_URL}/api/v1/${API_URL_KEY}/transaction/download/excel`;
|
||||
},
|
||||
transactionDownloadConfirmation: () => {
|
||||
// POST: 거래 확인서 다운로드
|
||||
return `${API_BASE_URL}/api/v1/${API_URL_KEY}/transaction/download/confirmation`;
|
||||
},
|
||||
transactionDetail: () => {
|
||||
// POST: 거래내역 상세
|
||||
return `${API_BASE_URL}/api/v1/${API_URL_KEY}/transaction/detail`;
|
||||
|
||||
@@ -14,6 +14,7 @@ import { ShortcutSaveParams, ShortcutSaveResponse } from '@/entities/user/model/
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { FullMenuClose } from '@/entities/common/ui/full-menu-close';
|
||||
import { showAlert } from '@/widgets/show-alert';
|
||||
import { snackBar } from '@/shared/lib';
|
||||
|
||||
// 상수 정의
|
||||
const SCROLL_ANIMATION_DURATION = 800;
|
||||
@@ -76,7 +77,7 @@ export const Menu = ({
|
||||
|
||||
}).catch((e: any) => {
|
||||
if(e.response?.data?.error?.message){
|
||||
showAlert(e.response?.data?.error?.message);
|
||||
snackBar(e.response?.data?.error?.message);
|
||||
return;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user