mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 03:20:23 +01:00
12 lines
225 B
JavaScript
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)
|
|
}
|