Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
  • Loading branch information
kev1n-peters committed Jan 28, 2025
1 parent 074e37e commit a6aacfd
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions wormhole-connect/src/views/v2/Bridge/AssetPicker/ChainList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import List from '@mui/material/List';
import ListItemButton from '@mui/material/ListItemButton';
import ListItemIcon from '@mui/material/ListItemIcon';
import Stack from '@mui/material/Stack';
import Tooltip from '@mui/material/Tooltip';
import Typography from '@mui/material/Typography';

import ChainIcon from 'icons/ChainIcons';
Expand Down Expand Up @@ -115,24 +114,22 @@ const ChainList = (props: Props) => {
return (
<List component={Stack} direction="row">
{topChains.map((chain: ChainConfig) => (
<Tooltip key={chain.key} title={chain.displayName}>
<ListItemButton
key={chain.key}
selected={selectedChainConfig?.key === chain.key}
className={classes.chainButton}
onClick={() => onChainSelect(chain.key)}
<ListItemButton
key={chain.key}
selected={selectedChainConfig?.key === chain.key}
className={classes.chainButton}
onClick={() => onChainSelect(chain.key)}
>
<ChainIcon icon={chain.icon} />
<Typography
fontSize="12px"
lineHeight="12px"
marginTop="8px"
whiteSpace="nowrap"
>
<ChainIcon icon={chain.icon} />
<Typography
fontSize="12px"
lineHeight="12px"
marginTop="8px"
whiteSpace="nowrap"
>
{chain.symbol}
</Typography>
</ListItemButton>
</Tooltip>
{chain.symbol}
</Typography>
</ListItemButton>
))}
<ListItemButton
className={classes.chainButton}
Expand Down

0 comments on commit a6aacfd

Please sign in to comment.