From ad909e34e02019988b5698a8f3f8c30f14ba43e3 Mon Sep 17 00:00:00 2001 From: chaojun Date: Sat, 14 Sep 2024 09:53:29 +0800 Subject: [PATCH] feat: add creditcoin evm icons --- lib/Chain/ChainIcon.js | 6 ++++++ package.json | 2 +- yarn.lock | 10 +++++----- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/lib/Chain/ChainIcon.js b/lib/Chain/ChainIcon.js index 5bb5abed..c75f5590 100644 --- a/lib/Chain/ChainIcon.js +++ b/lib/Chain/ChainIcon.js @@ -70,6 +70,8 @@ import { ChainStafiDark, ChainCreditcoinLight, ChainCreditcoinDark, + ChainCreditcoinEvmLight, + ChainCreditcoinEvmDark, } from "@osn/icons/opensquare"; import { capitalize } from "../utils"; @@ -214,6 +216,10 @@ const icons = { light: ChainCreditcoinLight, dark: ChainCreditcoinDark, }, + CreditcoinEvm: { + light: ChainCreditcoinEvmLight, + dark: ChainCreditcoinEvmDark, + }, }; function ChainIcon({ diff --git a/package.json b/package.json index 5d5623d8..019538b1 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ ], "dependencies": { "@floating-ui/react": "^0.26.6", - "@osn/icons": "^1.131.0", + "@osn/icons": "^1.132.0", "@osn/polkadot-react-identicon": "^1.0.10", "@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-tooltip": "^1.0.7", diff --git a/yarn.lock b/yarn.lock index a3324034..2fbdc97f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4762,7 +4762,7 @@ __metadata: "@osn/common": ^1.3.7 "@osn/constants": ^1.1.2 "@osn/eslint-config": ^1.0.2 - "@osn/icons": ^1.131.0 + "@osn/icons": ^1.132.0 "@osn/polkadot-react-identicon": ^1.0.10 "@osn/previewer": ^0.12.8 "@osn/rich-text-editor": ^0.6.6 @@ -4872,10 +4872,10 @@ __metadata: languageName: node linkType: hard -"@osn/icons@npm:^1.131.0": - version: 1.131.0 - resolution: "@osn/icons@npm:1.131.0" - checksum: efde477fe4692d300b1c169d3bf039eb0cb0b1039e10ff360c902b4ab49b69767ea63b1cb5786ee5fda425781090b543ccc9475e32c92b06e3422c5a20074d75 +"@osn/icons@npm:^1.132.0": + version: 1.132.0 + resolution: "@osn/icons@npm:1.132.0" + checksum: 2b53b3d87b79599d8f0e93232fb4bf8e60b80dd9a0622e8452d3ba5e13ffac6209b7647cb64e083a90d2f81370b63eed9f857d3bac727c23ee74ef8add255a4d languageName: node linkType: hard