mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
getSeletedAsset to only return symbol strings, not token objects
This commit is contained in:
parent
1ba7afe34b
commit
8c075b7158
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user