Skip to content

Commit

Permalink
[bug] [Testnet] Wormholescan link redirects user to Mainnet stats (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielisaacgeslin authored Jul 11, 2024
1 parent d21fe22 commit 3ad8c46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/connect/src/components/atoms/NavBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,11 @@ const Spacer = styled("div")(() => ({
// const chipNew = <Chip label="NEW" size="small" />; // TODO: Add back when needed
const womrholescanButton = (
<Box>
<Link href="https://wormholescan.io" target="_blank" color="inherit">
<Link
href={`https://wormholescan.io${wormholeConnectConfig.env === "testnet" ? "/#/?network=TESTNET" : ""}`}
target="_blank"
color="inherit"
>
Wormholescan
</Link>
</Box>
Expand Down

0 comments on commit 3ad8c46

Please sign in to comment.