Skip to content

Commit

Permalink
Merge 9820fa5 into e92506a
Browse files Browse the repository at this point in the history
  • Loading branch information
mhauru committed May 30, 2022
2 parents e92506a + 9820fa5 commit 5b7a755
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions frontend/src/components/ItemEditor.js
Expand Up @@ -63,11 +63,7 @@ function ItemEditor(props) {
},
body: JSON.stringify({}),
};
let response = {};
console.log("request options for delete are ", requestOptions);
fetch(url, requestOptions).then((response) => response.json());

console.log("delete response was ", response);
return fetch(url, requestOptions);
}

function handleSubmit(event) {
Expand Down

0 comments on commit 5b7a755

Please sign in to comment.