From 227660b9fa59ae8fe84968662081dbf54511ce43 Mon Sep 17 00:00:00 2001 From: sirromdev Date: Fri, 25 Oct 2019 15:41:19 +1100 Subject: [PATCH] CDP-441 Fix strange values in collateral list --- .../CDPCreateSelectCollateral.js | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/components/CDPCreateScreens/CDPCreateSelectCollateral.js b/src/components/CDPCreateScreens/CDPCreateSelectCollateral.js index 35703239b..e76350467 100644 --- a/src/components/CDPCreateScreens/CDPCreateSelectCollateral.js +++ b/src/components/CDPCreateScreens/CDPCreateSelectCollateral.js @@ -127,15 +127,18 @@ const CDPCreateSelectCollateral = ({ selectedIlk, proxyAddress, dispatch }) => { - {ilkList.map(ilk => ( - - ))} + {ilkList.map( + ilk => + balances[ilk.gem] && ( + + ) + )}