From ed8acdb11c349bd92ee89cf9c8c9921df185b67c Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Mon, 21 May 2018 16:43:55 -0700 Subject: Re add wrapped ether item --- packages/website/ts/components/wallet/wallet.tsx | 31 ++++++++++++++++++------ 1 file changed, 24 insertions(+), 7 deletions(-) (limited to 'packages') diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx index 276a94fdb..09d094a16 100644 --- a/packages/website/ts/components/wallet/wallet.tsx +++ b/packages/website/ts/components/wallet/wallet.tsx @@ -383,15 +383,32 @@ export class Wallet extends React.Component { const style = shouldShowWrapEtherItem ? { ...walletItemStyles.focusedItem, ...styles.paddedItem } : { ...styles.tokenItem, ...styles.borderedItem, ...styles.paddedItem }; + const etherToken = this._getEthToken(); return ( -
-
{icon}
-
- {primaryText} - {secondaryText} +
+
+
{icon}
+
+ {primaryText} + {secondaryText} +
+
+
{this._renderAccessoryItems(accessoryItemConfig)}
-
-
{this._renderAccessoryItems(accessoryItemConfig)}
+ {shouldShowWrapEtherItem && ( + + )}
); } -- cgit v1.2.3