Developer-DAO / pixel-avatars

A Polygon-based minting projects for Developer DAO members who own an Devs for Revolution NFT

Home Page:https://pixel-devs.developerdao.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong NFT is shown when visiting URL

briangershon opened this issue · comments

Bug

If user saves link to their NFT preview and then revisits that URL at a later time, users will see the wrong NFT.

The link contains the ?developerId query param but site doesn't show that NFT when visiting link directly.

Repro

To reproduce, click on any example link below. They all show same NFT (default Developer ID 1).

https://pixel-avatars.developerdao.com/?developerId=123
https://pixel-avatars.developerdao.com/?developerId=456
https://pixel-avatars.developerdao.com/?developerId=999

I had discovered this by adding a link to my own NFT and when I later visited that link, realized the image didn't match the data in https://raw.githubusercontent.com/Developer-DAO/pixel-avatars/main/web-previewer/data/developers.js.

Workaround

User can see their NFT if they manually select it in the UI.

You can assign this to me, I'll poke at!