From 8c075b71586761aa7e813c7fb9ddddfa98f3a84a Mon Sep 17 00:00:00 2001 From: Dan Miller Date: Wed, 17 Apr 2019 20:59:45 -0230 Subject: getSeletedAsset to only return symbol strings, not token objects --- ui/app/selectors/selectors.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/app/selectors/selectors.js b/ui/app/selectors/selectors.js index da9cf57c7..2d25aa156 100644 --- a/ui/app/selectors/selectors.js +++ b/ui/app/selectors/selectors.js @@ -91,7 +91,8 @@ function getAccountType (state) { } function getSelectedAsset (state) { - return getSelectedToken(state) || 'ETH' + const selectedToken = getSelectedToken(state) + return selectedToken && selectedToken.symbol || 'ETH' } function getCurrentNetworkId (state) { -- cgit v1.2.3