Skip to content

Commit

Permalink
Merge main into sweep/user-friendly-error-messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-ai[bot] authored Dec 10, 2023
2 parents ff311bd + a2f968c commit 4f035f8
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ export default function InputFilesPond(props) {

const errorHandling = (response) => {
const responseObj = JSON.parse(response);
console.error(responseObj);
toast.error(responseObj.message);
};

Expand Down Expand Up @@ -277,9 +276,6 @@ export default function InputFilesPond(props) {
// for reference see
// github.com/pqina/filepond-docs/blob/master/content/patterns/API/filepond-object.md#filestatus-enum
if (file.status === 2 && file.getMetadata("processingAborted") !== true) {
console.log("onremovefile")
console.log(uploadedFiles)

setUploadedFiles((prev) => {
const prevCopy = { ...prev };
delete prevCopy[fileName];
Expand Down

0 comments on commit 4f035f8

Please sign in to comment.