1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/components/send_/send-content/send-amount-row/send-amount-row.selectors.js

15 lines
248 B
JavaScript

const selectors = {
getMaxModeOn,
sendAmountIsInError,
}
module.exports = selectors
function getMaxModeOn (state) {
return state.metamask.send.maxModeOn
}
function sendAmountIsInError (state) {
return Boolean(state.send.errors.amount)
}