-
Hi there, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hey @giansalvo thanks! Here it is: import { useItemFinishListener } from "@rpldy/uploady";
const MyComponent = () => {
useItemFinishListener((item) => {
console.log(`item ${item.id} finished uploading, response was: `, item.uploadResponse, item.uploadStatus);
});
//...
}; If your server responds with data to the upload request, it will be available from the |
Beta Was this translation helpful? Give feedback.
hey @giansalvo
This question is outside of Uploady's scope (or any uploader for that matter) as I dont know what is returned from your server and whether its valid.
I can tell that you're usage of Uploady is fine, but beyond that, you'd need to debug the data sent back and how to load it correctly as an image.