1 2 3 4 5 6 7 8 9 10 11 12
import { getSendErrors } from '../send.selectors' const selectors = { isSendFormInError, } module.exports = selectors function isSendFormInError (state) { const { amount, to } = getSendErrors(state) return Boolean(amount || to !== null) }