React: Bug: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided

Created on 11 Mar 2020  路  1Comment  路  Source: facebook/react

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?

Unconfirmed

>All comments

This isn鈥檛 related to React at all, so I鈥檓 going to close this issue. I recommend using a community resource like stack overflow. Thanks!

Was this page helpful?
0 / 5 - 0 ratings