1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 02:58:09 +01:00
metamask-extension/ui/app/components/send_/send-content/send-to-row/send-to-row.selectors.js

15 lines
244 B
JavaScript

const selectors = {
getToDropdownOpen,
sendToIsInError,
}
module.exports = selectors
function getToDropdownOpen (state) {
return state.send.toDropdownOpen
}
function sendToIsInError (state) {
return Boolean(state.send.errors.to)
}