Skip to content

Commit

Permalink
Merge pull request #178 from alephium/fix-testnet-link
Browse files Browse the repository at this point in the history
Fix testnet link
  • Loading branch information
nop33 committed Mar 14, 2023
2 parents d129cd3 + 35d0217 commit a2a97ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AppFooter.tsx
Expand Up @@ -135,5 +135,5 @@ const StyledNetworkSwitch = styled(NetworkSwitch)`
`

const Version = styled.span`
color: ${({ theme }) => theme.textSecondary};
color: ${({ theme }) => theme.font.secondary};
`
2 changes: 1 addition & 1 deletion src/components/NetworkSwitch.tsx
Expand Up @@ -33,7 +33,7 @@ const NetworkSwitch = ({

const switchToNetwork = (network: string) => {
if (networkType !== network) {
window.location.assign(isMainnet ? 'https://testnet.alephium.org' : 'https://explorer.alephium.org')
window.location.assign(isMainnet ? 'https://explorer.testnet.alephium.org' : 'https://explorer.alephium.org')
}
}

Expand Down

0 comments on commit a2a97ea

Please sign in to comment.