You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
225 B
12 lines
225 B
7 years ago
|
const { getSendErrors } = require('../send.selectors')
|
||
7 years ago
|
|
||
|
const selectors = {
|
||
|
isSendFormInError,
|
||
|
}
|
||
|
|
||
|
module.exports = selectors
|
||
|
|
||
|
function isSendFormInError (state) {
|
||
7 years ago
|
return Object.values(getSendErrors(state)).some(n => n)
|
||
7 years ago
|
}
|