Skip to content

Commit

Permalink
Fix: 판매자 수정페이지 리다이렉트 경로 수정 (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmdnps10 committed Jul 17, 2024
1 parent 63efda4 commit 3b03f24
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/Seller/SellerMyPageModifyProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,13 +150,13 @@ export const SellerMypageModifyProfile = () => {
setIsLoading(false);
} else if (profileLevel?.data?.profileStatus === 'EVALUATION_PENDING') {
alert('판매 정보 검토 중이니 조금만 기다려주세요!');
navigate('/seller/mypage/viewProfile');
navigate('/minder/mypage/viewProfile');
} else {
const profileRes: any = await getProfiles();
const data = profileRes.data;
if (profileRes.response?.status === 404) {
alert('판매 정보가 등록되어 있지 않습니다.');
navigate('/seller/mypage');
navigate('/minder/mypage');
}
nickname.setValue(data?.nickname);
category.setViewValue(data?.consultCategories.join(', '));
Expand Down Expand Up @@ -189,7 +189,7 @@ export const SellerMypageModifyProfile = () => {
setIsLoading(false);
}
} catch (err) {
navigate('/seller/mypage');
navigate('/minder/mypage');
alert(err);
}
// accountNum.setValue(profileDummyData.accountNum);
Expand Down

0 comments on commit 3b03f24

Please sign in to comment.