Skip to content

Commit

Permalink
Merge pull request #37 from jaykeraliya0/jaykeraliya0/issue34
Browse files Browse the repository at this point in the history
At NFT detail page when click on token id redirect to opensea not on …
  • Loading branch information
jaykeraliya0 authored Jun 21, 2023
2 parents 4c1f1b0 + d697847 commit 556090a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/nft/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const NFTDetailsPage = async ({ params, searchParams }: Props) => {
<li className="text-gray-400 flex justify-between">
<span className="text-gray-200">Token ID: </span>
<Link
href={`https://goerli.etherscan.io/token/${process.env.NEXT_PUBLIC_CONTRACT_ADDRESS}?a=${id}`}
href={`https://testnets.opensea.io/assets/goerli/${process.env.NEXT_PUBLIC_CONTRACT_ADDRESS}/${id}`}
target="_blank"
rel="noopener noreferrer"
className="text-amber-500 hover:text-amber-600"
Expand Down

1 comment on commit 556090a

@vercel
Copy link

@vercel vercel bot commented on 556090a Jun 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.