parent
4a8c3194c2
commit
beb8d1cf5e
@ -0,0 +1,9 @@ |
||||
const selectors = { |
||||
getMaxModeOn, |
||||
} |
||||
|
||||
module.exports = selectors |
||||
|
||||
function getMaxModeOn (state) { |
||||
return state.metamask.send.maxModeOn |
||||
} |
@ -1,14 +1,9 @@ |
||||
const selectors = { |
||||
getMaxModeOn, |
||||
sendAmountIsInError, |
||||
} |
||||
|
||||
module.exports = selectors |
||||
|
||||
function getMaxModeOn (state) { |
||||
return state.metamask.send.maxModeOn |
||||
} |
||||
|
||||
function sendAmountIsInError (state) { |
||||
return Boolean(state.send.errors.amount) |
||||
} |
||||
|
Loading…
Reference in new issue