We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aab0e6 commit fc53e31Copy full SHA for fc53e31
src/features/join/hooks/useUserHook.ts
@@ -22,9 +22,8 @@ export const useUserUpdate = () => {
22
export const useAgreeTerms = () => {
23
return useMutation({
24
mutationFn: agreeTerms,
25
- onError: (error) => {
26
- alert('동의 처리 실패');
27
- console.error('이용약관 동의 실패', error);
+ onError: () => {
+ alert('약관 동의 처리에 실패했습니다.');
28
}
29
});
30
};
src/pages/join/InfoInputPage.tsx
@@ -64,9 +64,6 @@ const InfoInputPage = () => {
64
alert('회원가입이 완료되었습니다.');
65
navigate('/');
66
},
67
- onError: () => {
68
- alert('약관 동의 처리에 실패했습니다.');
69
- },
70
71
);
72
0 commit comments