Skip to content

Commit

Permalink
fix: zksync path
Browse files Browse the repository at this point in the history
  • Loading branch information
viet-nv committed Aug 16, 2023
1 parent b2ac132 commit 767a70b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export function getEtherscanLink(
return `${prefix}/tx/${data}`
}
case 'token': {
if (chainId === ChainId.ZKSYNC) return `${prefix}/address/${data}`
return `${prefix}/token/${data}`
}
case 'block': {
Expand Down

0 comments on commit 767a70b

Please sign in to comment.