1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 22:24:27 +01:00
metamask-extension/ui/app/components/send/send-footer/send-footer.selectors.js

12 lines
225 B
JavaScript
Raw Normal View History

const { getSendErrors } = require('../send.selectors')
2018-04-26 18:38:38 +02:00
const selectors = {
isSendFormInError,
}
module.exports = selectors
function isSendFormInError (state) {
return Object.values(getSendErrors(state)).some(n => n)
}