Chia-Network / chia-blockchain-gui

Chia blockchain GUI in electron/react

Home Page:https://chia.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] “View NFT on X” links incorrect.

smwhite2 opened this issue · comments

What happened?

NFT's "View on Spacescan.io" link and “View on MintGarden” link do not direct as intended.
 
@GUI > NFTs > Click an NFT > three dot hamburger icon > View on (spacescan.io or mintgarden)
 
Choosing “View on Spacescan.io” yields https://spacescan.io/txch10/nft/... While I am using testnet11.
 
Manually using https://spacescan.io/txch11/nft/... Does direct to accurate NFT data.
 
Choosing “View on MintGarden” yields https://testnet.mintgarden.io/nfts/... NFT ownership data not showing as expected.

Imagine fix should be around:
 
https://github.com/Chia-Network/chia-blockchain-gui/blob/main/packages/gui/src/hooks/useViewNFTOnExplorer.ts#L9
 
https://github.com/Chia-Network/chia-blockchain-gui/blob/main/packages/gui/src/hooks/useViewNFTOnExplorer.ts#L14

Also verified issue on Ubuntu 22.04.

Version

2.4.3-rc1

What platform are you using?

Windows

What ui mode are you using?

GUI

Relevant log output or stacktrace

No response

This was fixed in fd3e017 and will be included in the next rc.

'This issue has been flagged as stale as there has been no activity on it in 14 days. If this issue is still affecting you and in need of review, please update it to keep it open.'