From 767a70b313e101c32792e1def544e382ecea2ef3 Mon Sep 17 00:00:00 2001 From: viet-nv Date: Wed, 16 Aug 2023 11:06:25 +0700 Subject: [PATCH] fix: zksync path --- src/utils/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/index.ts b/src/utils/index.ts index 478da2b351..712f6c979b 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -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': {