If image upload errors, ready remains false
The library works great, but I'm noticing that, while using the DirectUploadProvider if one of my uploads receives an error response from the server, the ready prop remains false.
I believe it is do to the fact that the Promise.all rejects and then uploading: false is never set
https://github.com/cbothner/react-activestorage-provider/blob/6be6084e90552bec86a92d3be914d0eca7739b80/src/DirectUploadProvider.js#L90, making it unable to try the upload again.
Perhaps I'm missing a prop or an approach to handle this case - has anyone else ran into this? Perhaps there should be an onError function that can call during the direct upload if one of the uploads fails.
Happening here as well