1 2 3 4 5 6 7 8 9 10 11 12 13 14
const selectors = { getMaxModeOn, sendAmountIsInError, } module.exports = selectors function getMaxModeOn (state) { return state.metamask.send.maxModeOn } function sendAmountIsInError (state) { return Boolean(state.metamask.send.errors.amount) }