File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
packages/wallet-widget/src/components Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { useSettings } from '../../hooks'
55import { MediaIconWrapper } from '../IconWrappers'
66import { ListCardSelect } from '../ListCard/ListCardSelect'
77
8+ import { NetworkImageCustom } from './NetworkImageCustom'
89import { NetworkRow } from './NetworkRow'
910
1011export const NetworksFilter = ( ) => {
@@ -17,7 +18,9 @@ export const NetworksFilter = () => {
1718 { allNetworks . length > 1 && (
1819 < ListCardSelect key = "all" isSelected = { selectedNetworks . length > 1 } onClick = { ( ) => setSelectedNetworks ( [ ] ) } >
1920 < MediaIconWrapper
20- iconList = { allNetworks . map ( network => `https://assets.sequence.info/images/networks/medium/${ network } .webp` ) }
21+ iconList = { allNetworks . map ( network => (
22+ < NetworkImageCustom chainId = { network } style = { { width : '32px' , height : '32px' } } />
23+ ) ) }
2124 size = "sm"
2225 />
2326 < Text color = "primary" fontWeight = "medium" variant = "normal" >
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export const MediaIconWrapper = ({
8787 height : `calc(${ widthClassMap [ size ] } + 2px)`
8888 } }
8989 >
90- < img className = "bg-background-muted" src = { icon } alt = "icon" />
90+ < img src = { icon } alt = "icon" style = { { backgroundColor : 'lightgray' } } />
9191 </ div >
9292 ) }
9393 </ >
You can’t perform that action at this time.
0 commit comments