Skip to content

Commit

Permalink
Merge pull request #93 from Choco-Express/dev
Browse files Browse the repository at this point in the history
:rocet
  • Loading branch information
Chaem03 authored Sep 24, 2024
2 parents c927ce3 + cd8211c commit e30df13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/DetailLetter/DetailLetter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const DetailLetter = () => {
try {
const response = await instance.delete(`/api/choco/${id}`);

if (response.data) {
if (response.status === 204) {
console.log("삭제가 완료되었습니다.");

navigate(-1);
Expand Down

0 comments on commit e30df13

Please sign in to comment.