From 82087a9f028e5983e347d226f74f3227d60b19e3 Mon Sep 17 00:00:00 2001 From: rohitmalhotra1420 Date: Fri, 31 May 2024 15:14:36 +0530 Subject: [PATCH] fixed build error for incorrect naming --- .../components/notification/chainDetails.tsx | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/packages/uiweb/src/lib/components/notification/chainDetails.tsx b/packages/uiweb/src/lib/components/notification/chainDetails.tsx index 479f3ddd5..60f9e8273 100644 --- a/packages/uiweb/src/lib/components/notification/chainDetails.tsx +++ b/packages/uiweb/src/lib/components/notification/chainDetails.tsx @@ -12,9 +12,7 @@ import { TheGraphSvg } from '../../icons/TheGraphSvg'; import LineaSVG from '../../icons/LineaSVG'; import { CyberConnectSVG } from '../../icons/CyberConnectSVG'; const createSVGIcon = (element: any, chainName: string) => { - return ( - {element} - ); + return {element}; }; export default { @@ -84,21 +82,21 @@ export default { BERACHAIN_TESTNET: { label: 'BERACHAIN TESTNET', icon: createSVGIcon(, 'Berachain Testnet'), - }, + }, CYBER_CONNECT_TESTNET: { label: 'CYBER CONNECT TESTNET', - icon: createSVGIcon(, 'CyberConnect Testnet'), + icon: createSVGIcon(, 'CyberConnect Testnet'), }, - LINEA_TESTNET : { + LINEA_TESTNET: { label: 'LINEA TESTNET', - icon: createSVGIcon(, 'Linea Testnet'), + icon: createSVGIcon(, 'Linea Testnet'), }, - LIENA_MAINNET : { - label: 'LIENA MAINNET', - icon: createSVGIcon(, 'Linea Mainnet'), + LINEA_MAINNET: { + label: 'LINEA MAINNET', + icon: createSVGIcon(, 'Linea Mainnet'), }, CYBER_CONNECT_MAINNET: { label: 'CYBER CONNECT MAINNET', - icon: createSVGIcon(, 'CyberConnect Mainnet'), - } + icon: createSVGIcon(, 'CyberConnect Mainnet'), + }, };