Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
antonyr committed Jul 31, 2024
1 parent 702cb88 commit 8fb4b6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/files/UploadURDF.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const URDFUploadComponent = () => {
const formData = new FormData();
formData.append("file", selectedFile);

const { response, error } = await APICalls.upload(selectedFile, {
const { error } = await APICalls.upload(selectedFile, {
artifact_type: "image",
listing_id: "5",
});
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/hooks/ApiCalls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const APICalls = {
file: "",
metadata: "image",
},
bodySerializer(body) {
bodySerializer() {
const fd = new FormData();
fd.append("file", file);
fd.append("metadata", JSON.stringify(request));
Expand Down

0 comments on commit 8fb4b6a

Please sign in to comment.