catch 수정 및 불필요 api 삭제 api 변경 내역 수정

This commit is contained in:
focp212@naver.com
2025-11-07 15:16:14 +09:00
parent e5342f1d0a
commit b5db56fd70
63 changed files with 498 additions and 507 deletions

View File

@@ -32,6 +32,7 @@ import {
import { FullMenuClose } from '@/entities/common/ui/full-menu-close';
import { checkGrant } from '@/shared/lib/check-grant';
import { showAlert } from '@/widgets/show-alert';
import { snackBar } from '@/shared/lib';
export interface AllTransactionDetailProps {
detailOn: boolean;
@@ -79,7 +80,7 @@ export const AllTransactionDetail = ({
setPartCancelInfo(rs.partCancelInfo);
}).catch((e: any) => {
if(e.response?.data?.error?.message){
showAlert(e.response?.data?.error?.message);
snackBar(e.response?.data?.error?.message);
return;
}
});