aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/selectors.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-10-19 10:09:26 +0800
committerDan <danjm.com@gmail.com>2017-10-20 03:00:54 +0800
commit332c7441b656ec82ebfba863e3feb4dbf365d67b (patch)
tree2ea0aece624fe6df97924c38a739efb302fffe79 /ui/app/selectors.js
parent59015cccef72210f828b344aaedde9b8dd31be3b (diff)
downloadtangerine-wallet-browser-332c7441b656ec82ebfba863e3feb4dbf365d67b.tar
tangerine-wallet-browser-332c7441b656ec82ebfba863e3feb4dbf365d67b.tar.gz
tangerine-wallet-browser-332c7441b656ec82ebfba863e3feb4dbf365d67b.tar.bz2
tangerine-wallet-browser-332c7441b656ec82ebfba863e3feb4dbf365d67b.tar.lz
tangerine-wallet-browser-332c7441b656ec82ebfba863e3feb4dbf365d67b.tar.xz
tangerine-wallet-browser-332c7441b656ec82ebfba863e3feb4dbf365d67b.tar.zst
tangerine-wallet-browser-332c7441b656ec82ebfba863e3feb4dbf365d67b.zip
Get currency from state in account details, send and confirm screens.
Diffstat (limited to 'ui/app/selectors.js')
-rw-r--r--ui/app/selectors.js5
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
+}