You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the new contract generating the Cryptopunks images, the SVG returned as a data URI is not URI encoded, which means it can’t be used directly (e.g. on <img src="">) without processing it.
On the new contract generating the Cryptopunks images, the SVG returned as a data URI is not URI encoded, which means it can’t be used directly (e.g. on
<img src="">
) without processing it.This is how useNft() does it for example:
https://github.com/spectrexyz/use-nft/blob/e136d484c2a84bf99947d1cc1e15fb33f99bf140/src/fetchers/shared/cryptopunks.ts#L22-L28
It would be ideal if
punkImageSvg()
would return a string that is already URI encoded.The text was updated successfully, but these errors were encountered: