diff options
Get currency from state in account details, send and confirm screens.
Diffstat (limited to 'ui/app/selectors.js')
-rw-r--r-- | ui/app/selectors.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/selectors.js b/ui/app/selectors.js index 9d4e6eb67..1cfbc3975 100644 --- a/ui/app/selectors.js +++ b/ui/app/selectors.js @@ -14,6 +14,7 @@ const selectors = { getGasLimit, getAddressBook, getSendFrom, + getCurrentCurrency, } module.exports = selectors @@ -112,3 +113,7 @@ function getGasLimit (state) { function getSendFrom (state) { return state.metamask.send.from } + +function getCurrentCurrency (state) { + return state.metamask.currentCurrency +} |