1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 23:06:37 +01:00
metamask-extension/ui/app/components/send/send-content/send-to-row/send-to-row.selectors.js

15 lines
244 B
JavaScript
Raw Normal View History

2018-04-07 00:29:51 +02:00
const selectors = {
getToDropdownOpen,
sendToIsInError,
}
module.exports = selectors
function getToDropdownOpen (state) {
return state.send.toDropdownOpen
}
function sendToIsInError (state) {
return Boolean(state.send.errors.to)
2018-04-07 00:29:51 +02:00
}