Replies: 1 comment
-
one code uses |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using fetch I can create a download link by doing the following code
All works fine but I'm using React Query for my project so I want to be consistent and use this to do the same thing.
If I do the following
Where useDocuments is
I get the error
"Uncaught (in promise) TypeError: Failed to execute 'createObjectURL' on 'URL': Overload resolution failed."
Data looks like a blob if I console it out?
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions