This commit is contained in:
focp212@naver.com
2025-10-22 14:21:14 +09:00
parent 1e7f13d5cc
commit 556b3f2a6a
27 changed files with 178 additions and 397 deletions

View File

@@ -3,7 +3,6 @@ import { useUserFindAuthMethodMutation } from '@/entities/user/api/use-user-find
import { DEFAULT_PAGE_PARAM } from '@/entities/common/model/constant';
import { useEffect, useState } from 'react';
import { useUserModifyAuthMethodMutation } from '@/entities/user/api/use-user-modify-authmethod-mutation';
import { snackBar } from '@/shared/lib/toast';
import { PATHS } from '@/shared/constants/paths';
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
@@ -26,7 +25,7 @@ export const UserLoginAuthInfoWrap = ({
const { mutateAsync: userFindAuthMethod } = useUserFindAuthMethodMutation();
const { mutateAsync: userModifyAuthMethod } = useUserModifyAuthMethodMutation({
onSuccess: () => {
snackBar('사용자 정보가 성공적으로 저장되었습니다.');
// snackBar('사용자 정보가 성공적으로 저장되었습니다.');
navigate(PATHS.account.user.manage, {
state: {
mid: mid,
@@ -34,7 +33,7 @@ export const UserLoginAuthInfoWrap = ({
});
},
onError: (error) => {
snackBar(error?.response?.data?.message || '사용자 정보 저장에 실패했습니다.');
// snackBar(error?.response?.data?.message || '사용자 정보 저장에 실패했습니다.');
}
});

View File

@@ -13,7 +13,7 @@ import {
export const billingCharge = (params: BillingChargeParams) => {
return resultify(
axios.post<BillingChargeResponse>(API_URL_TRANSACTION.billingDetail(), params),
axios.post<BillingChargeResponse>(API_URL_TRANSACTION.billingCharge(), params),
);
};

View File

@@ -59,14 +59,14 @@ export const BillingList = ({
return (
<>
<div className="transaction-list">
{ getListDateGroup() }
<div className="apply-row bottom-padding">
<button
className="btn-50 btn-blue flex-1"
onClick={ () => onClickToNavigate() }
> </button>
</div>
{ getListDateGroup() }
</div>
<div className="apply-row">
<button
className="btn-50 btn-blue flex-1"
onClick={ () => onClickToNavigate() }
></button>
</div>
</>
);
};