Skip to content

Commit acdf6b7

Browse files
committed
fix: error handle
1 parent 4a59fa9 commit acdf6b7

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

โ€Žsrc/pages/PostPickPage/index.tsxโ€Ž

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ const PostPickPage = () => {
7373
onSuccess: response => {
7474
navigate(`/pick-detail/${response.currentAppointment.appointment.appointmentId}`, { replace: true });
7575
},
76-
onError: () => {
77-
openToast({ message: 'PICK ์ƒ์„ฑ์— ์‹คํŒจํ–ˆ์–ด์š”. ๋‹ค์‹œ ์‹œ๋„ํ•ด์ฃผ์„ธ์š”!' });
78-
},
7976
},
8077
);
8178
return;
@@ -93,9 +90,6 @@ const PostPickPage = () => {
9390
onSuccess: response => {
9491
navigate(`/pick-detail/${response.currentAppointment.appointment.appointmentId}`, { replace: true });
9592
},
96-
onError: () => {
97-
openToast({ message: 'PICK ์ƒ์„ฑ์— ์‹คํŒจํ–ˆ์–ด์š”. ๋‹ค์‹œ ์‹œ๋„ํ•ด์ฃผ์„ธ์š”!' });
98-
},
9993
},
10094
);
10195
};

0 commit comments

Comments
ย (0)