Skip to content

Commit

Permalink
fix chain icon
Browse files Browse the repository at this point in the history
  • Loading branch information
cuteolaf committed Oct 22, 2024
1 parent cb76597 commit ee6d32e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/assets/networks/relay/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const getIcon = (network: NetworkType) => {
case NetworkType.WESTEND:
return Westend;
default:
Polkadot;
return Polkadot;
}
};

Expand Down
8 changes: 2 additions & 6 deletions src/components/Transfer/transferActions.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import ArrowDownward from '@mui/icons-material/ArrowDownwardOutlined';
import { Box, Paper, Stack, Typography } from '@mui/material';
import { AmountInput, Button } from '@region-x/components';
import Image from 'next/image';
import { useRouter } from 'next/router';

import { getIcon } from '@/assets/networks';
Expand Down Expand Up @@ -105,12 +106,7 @@ const TransferActions = () => {
{
value: symbol,
label: symbol,
icon: (
<img
src={getIcon(network)?.src}
style={{ width: '28px', height: '28px', padding: '4px' }}
/>
),
icon: <Image src={getIcon(network)} alt='' width={28} height={28} />,
},
]}
label=''
Expand Down

0 comments on commit ee6d32e

Please sign in to comment.