From d489410be894f36501264a35302372550301306c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Riquelme=20Guzm=C3=A1n?= Date: Thu, 9 Nov 2023 13:31:19 -0300 Subject: [PATCH 1/2] chore: fix explorer urls --- src/pages/DetailView/DetailView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/DetailView/DetailView.tsx b/src/pages/DetailView/DetailView.tsx index 930d3d4..6675bf5 100644 --- a/src/pages/DetailView/DetailView.tsx +++ b/src/pages/DetailView/DetailView.tsx @@ -126,7 +126,7 @@ export default function DetailView() { Destination transaction hash: From c66706068109a1052f81f97c2c0ca6a24efecffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Riquelme=20Guzm=C3=A1n?= Date: Mon, 13 Nov 2023 12:54:11 -0500 Subject: [PATCH 2/2] chore: holesky and mumbai, chain ids and icon render --- src/utils/Helpers.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/utils/Helpers.tsx b/src/utils/Helpers.tsx index 9b14e64..6147ed2 100644 --- a/src/utils/Helpers.tsx +++ b/src/utils/Helpers.tsx @@ -101,6 +101,10 @@ export const getNetworkNames = (chainId: number): string => { case 338: case 25: return "Cronos" + case 17000: + return "Holesky" + case 80001: + return "Mumbai" default: return "Ethereum" } @@ -229,6 +233,7 @@ export const renderNetworkIcon = (chainId: number, classes: Record<"networkIcon" switch (chainId) { case 5: case 11155111: + case 17000: return ethereum case 5231: case 5233: @@ -241,6 +246,8 @@ export const renderNetworkIcon = (chainId: number, classes: Record<"networkIcon" case 338: case 25: return cronos + case 80001: + return polygon default: return ethereum }