mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Hide DetectedTokenAggregators if token.aggregators lists are empty (#15824)
This commit is contained in:
parent
fc65ca63af
commit
487440f93d
@ -35,7 +35,9 @@ const DetectedTokenDetails = ({
|
|||||||
tokensListDetected={tokensListDetected}
|
tokensListDetected={tokensListDetected}
|
||||||
/>
|
/>
|
||||||
<DetectedTokenAddress tokenAddress={token.address} />
|
<DetectedTokenAddress tokenAddress={token.address} />
|
||||||
|
{token.aggregators.length && (
|
||||||
<DetectedTokenAggregators aggregators={token.aggregators} />
|
<DetectedTokenAggregators aggregators={token.aggregators} />
|
||||||
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user