Commit d546ffec authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

fix: Market icons displaying over dropdown (#5989)

* remove correct market

* fix market icons displaying overtooltip

---------
Co-authored-by: default avatarCharles Bachmeier <charlie@genie.xyz>
parent 4a72d883
...@@ -236,11 +236,11 @@ export const MarketplaceRow = ({ ...@@ -236,11 +236,11 @@ export const MarketplaceRow = ({
key={market.name + asset.collection?.address + asset.tokenId} key={market.name + asset.collection?.address + asset.tokenId}
onClick={(e) => { onClick={(e) => {
e.stopPropagation() e.stopPropagation()
removeAssetMarketplace(asset, selectedMarkets[0]) removeAssetMarketplace(asset, market)
removeMarket && removeMarket() removeMarket && removeMarket()
}} }}
> >
<MarketIcon alt={selectedMarkets[0].name} src={market.icon} index={index} /> <MarketIcon alt={market.name} src={market.icon} index={index} />
<RemoveMarketplaceWrap hovered={marketIconHovered && (expandMarketplaceRows ?? false)}> <RemoveMarketplaceWrap hovered={marketIconHovered && (expandMarketplaceRows ?? false)}>
<img width="20px" src="/nft/svgs/minusCircle.svg" alt="Remove item" /> <img width="20px" src="/nft/svgs/minusCircle.svg" alt="Remove item" />
</RemoveMarketplaceWrap> </RemoveMarketplaceWrap>
......
...@@ -20,7 +20,7 @@ const TableHeader = styled.div` ...@@ -20,7 +20,7 @@ const TableHeader = styled.div`
top: 72px; top: 72px;
padding-top: 24px; padding-top: 24px;
padding-bottom: 24px; padding-bottom: 24px;
z-index: 1; z-index: 3;
background-color: ${({ theme }) => theme.backgroundBackdrop}; background-color: ${({ theme }) => theme.backgroundBackdrop};
color: ${({ theme }) => theme.textSecondary}; color: ${({ theme }) => theme.textSecondary};
font-size: 14px; font-size: 14px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment