diff options
author | Thomas <thomas.b.huang@gmail.com> | 2018-07-26 13:38:44 +0800 |
---|---|---|
committer | Thomas <thomas.b.huang@gmail.com> | 2018-07-26 13:38:44 +0800 |
commit | 138858647ed28a8aaba4b7e18e387ea0b6af0889 (patch) | |
tree | 0bc936ee7316112d01e617a246a645e3914da949 /ui/app/components/send/send-content/send-amount-row/send-amount-row.selectors.js | |
parent | fa02a6c7c65f6866998171881fd657570fe3fe7b (diff) | |
parent | a5d344a58223e029dc86bf33a8ca9357492765f3 (diff) | |
download | dexon-wallet-138858647ed28a8aaba4b7e18e387ea0b6af0889.tar.gz dexon-wallet-138858647ed28a8aaba4b7e18e387ea0b6af0889.tar.zst dexon-wallet-138858647ed28a8aaba4b7e18e387ea0b6af0889.zip |
Merge branch 'develop' into network-remove-provider-engine
Diffstat (limited to 'ui/app/components/send/send-content/send-amount-row/send-amount-row.selectors.js')
-rw-r--r-- | ui/app/components/send/send-content/send-amount-row/send-amount-row.selectors.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/components/send/send-content/send-amount-row/send-amount-row.selectors.js b/ui/app/components/send/send-content/send-amount-row/send-amount-row.selectors.js new file mode 100644 index 00000000..fb08c7ed --- /dev/null +++ b/ui/app/components/send/send-content/send-amount-row/send-amount-row.selectors.js @@ -0,0 +1,9 @@ +const selectors = { + sendAmountIsInError, +} + +module.exports = selectors + +function sendAmountIsInError (state) { + return Boolean(state.send.errors.amount) +} |