diff options
Diffstat (limited to 'ui/app/components/send_/send-footer/send-footer.selectors.js')
-rw-r--r-- | ui/app/components/send_/send-footer/send-footer.selectors.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/app/components/send_/send-footer/send-footer.selectors.js b/ui/app/components/send_/send-footer/send-footer.selectors.js index 15a053ae0..e20addfdc 100644 --- a/ui/app/components/send_/send-footer/send-footer.selectors.js +++ b/ui/app/components/send_/send-footer/send-footer.selectors.js @@ -7,6 +7,5 @@ const selectors = { module.exports = selectors function isSendFormInError (state) { - const { amount, to } = getSendErrors(state) - return Boolean(amount || to !== null) + return Object.values(getSendErrors(state)).some(n => n) } |