From e82a8a5f52ddc1db1263aaf9675911ac9608a55b Mon Sep 17 00:00:00 2001 From: Brad Decker Date: Fri, 5 Jun 2020 17:06:15 -0500 Subject: [PATCH] Fix prop type mismatch (#8754) --- ui/app/components/app/asset-list/asset-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/app/asset-list/asset-list.js b/ui/app/components/app/asset-list/asset-list.js index 39958fb2a..e24aba22d 100644 --- a/ui/app/components/app/asset-list/asset-list.js +++ b/ui/app/components/app/asset-list/asset-list.js @@ -57,7 +57,7 @@ const AssetList = ({ onClickAsset }) => { onClick={() => onClickAsset(nativeCurrency)} data-testid="wallet-balance" primary={primaryCurrencyDisplay} - secondary={showFiat && secondaryCurrencyDisplay} + secondary={showFiat ? secondaryCurrencyDisplay : undefined} /> {