From 0aceabf684281a1e28caab46f147cb6346e02ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Riquelme=20Guzm=C3=A1n?= Date: Wed, 25 Sep 2024 10:12:15 -0300 Subject: [PATCH] fix: adding optimism icon --- public/assets/icons/optimism.svg | 21 +++++++++++++++++++++ src/utils/renderUtils.tsx | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 public/assets/icons/optimism.svg diff --git a/public/assets/icons/optimism.svg b/public/assets/icons/optimism.svg new file mode 100644 index 0000000..098392b --- /dev/null +++ b/public/assets/icons/optimism.svg @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/src/utils/renderUtils.tsx b/src/utils/renderUtils.tsx index d526ee0..d476d0e 100644 --- a/src/utils/renderUtils.tsx +++ b/src/utils/renderUtils.tsx @@ -36,6 +36,7 @@ export const renderNetworkIcon = (caipId: string, classes: Record<"networkIcon" case "eip155:10200": return gnosis case "eip155:421614": + case "eip155:42161": return gnosis case "eip155:84532": return gnosis @@ -44,6 +45,8 @@ export const renderNetworkIcon = (caipId: string, classes: Record<"networkIcon" case "eip155:1993": case "eip155:8333": return gnosis + case "eip155:10": + return gnosis default: return ethereum }