Skip to content

Commit

Permalink
Merge pull request #189 from ClearContracts/matt/fix-view-btn
Browse files Browse the repository at this point in the history
Fix network check on view results on-chain button
  • Loading branch information
mattlaux authored Nov 27, 2024
2 parents 9e5f461 + 3aae0db commit a475a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/buttons/viewTxButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function ViewTxButton(props: Props): JSX.Element {
return (
<a
href={
process.env.NEXT_PUBLIC_NETWORK
process.env.NEXT_PUBLIC_NETWORK === 'mainnet'
? `https://cardanoscan.io/transaction/${txId}?tab=metadata`
: `https://preview.cardanoscan.io/transaction/${txId}?tab=metadata`
}
Expand Down

0 comments on commit a475a89

Please sign in to comment.