mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
15 lines
248 B
JavaScript
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)
|
|
}
|