when using the window command and createObjectURL etsou having this error: TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.
the code looks something like this:
const blobUrl = window. URL.createObjectURL(print);
window.open(blobUrl);
being print the answer i sell an API, where I search my pdf. But when I use the createObjectURL it of this error.
How do I use this in ReactJS?
This isn鈥檛 related to React at all, so I鈥檓 going to close this issue. I recommend using a community resource like stack overflow. Thanks!