Skip to content

Commit

Permalink
fix: originId selection
Browse files Browse the repository at this point in the history
  • Loading branch information
micwallace committed Nov 27, 2024
1 parent 18541fe commit 51f41fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export async function getTokenScriptWithSingleTokenContext(
// If token ID is specified we only show that token
if (tokenId != null){
// Try to load single token
const singleTokenData = await getSingleTokenMetadata(chain, contract, tokenId, tokenScript.getEngine());
const singleTokenData = await getSingleTokenMetadata(selectedOrigin.chainId, selectedOrigin.contractAddress, tokenId, tokenScript.getEngine());

selectedOrigin = {...singleTokenData.collection, ...selectedOrigin}
if (singleTokenData.detail)
Expand Down

0 comments on commit 51f41fc

Please sign in to comment.