Skip to content

Commit

Permalink
fixed build error for incorrect naming
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitmalhotra1420 committed May 31, 2024
1 parent 952f06d commit 82087a9
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions packages/uiweb/src/lib/components/notification/chainDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<Tooltip tooltipContent={`Delivered by ${chainName}`}>{element}</Tooltip>
);
return <Tooltip tooltipContent={`Delivered by ${chainName}`}>{element}</Tooltip>;
};

export default {
Expand Down Expand Up @@ -84,21 +82,21 @@ export default {
BERACHAIN_TESTNET: {
label: 'BERACHAIN TESTNET',
icon: createSVGIcon(<BerachainSVG />, 'Berachain Testnet'),
},
},
CYBER_CONNECT_TESTNET: {
label: 'CYBER CONNECT TESTNET',
icon: createSVGIcon(<CyberConnectSVG/>, 'CyberConnect Testnet'),
icon: createSVGIcon(<CyberConnectSVG />, 'CyberConnect Testnet'),
},
LINEA_TESTNET : {
LINEA_TESTNET: {
label: 'LINEA TESTNET',
icon: createSVGIcon(<LineaSVG/>, 'Linea Testnet'),
icon: createSVGIcon(<LineaSVG />, 'Linea Testnet'),
},
LIENA_MAINNET : {
label: 'LIENA MAINNET',
icon: createSVGIcon(<LineaSVG/>, 'Linea Mainnet'),
LINEA_MAINNET: {
label: 'LINEA MAINNET',
icon: createSVGIcon(<LineaSVG />, 'Linea Mainnet'),
},
CYBER_CONNECT_MAINNET: {
label: 'CYBER CONNECT MAINNET',
icon: createSVGIcon(<CyberConnectSVG/>, 'CyberConnect Mainnet'),
}
icon: createSVGIcon(<CyberConnectSVG />, 'CyberConnect Mainnet'),
},
};

0 comments on commit 82087a9

Please sign in to comment.