react-upload-file
react-upload-file copied to clipboard
uploadSuccess called on 400 response
I'm using the component to upload a file which causes a server side error and an HTTP 400 response, but the component is still calling the uploadSuccess function. I can't see that I'm doing anything wrong.