1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-13 21:27:12 +01:00
metamask-extension/ui/app/components/send/send-footer/send-footer.selectors.js
Dan b3d78ed8a1 Remove send_ directory, revert to just having send
Revert accidentally changed constants.

Require defaults in ens-input, gas-fee-display and confirm screens.
2018-07-16 12:58:32 -02:30

12 lines
225 B
JavaScript

const { getSendErrors } = require('../send.selectors')
const selectors = {
isSendFormInError,
}
module.exports = selectors
function isSendFormInError (state) {
return Object.values(getSendErrors(state)).some(n => n)
}