aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send_/send-content/send-amount-row/send-amount-row.selectors.js
blob: 724f345af8026dadd89608c2e33cc5f5cc238b26 (plain) (blame)
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)
}