1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 20:57:12 +01:00
metamask-extension/ui/app/components/send/send-content/send-gas-row/send-gas-row.selectors.js
Dan b3d78ed8a1 Remove send_ directory, revert to just having send
Revert accidentally changed constants.

Require defaults in ens-input, gas-fee-display and confirm screens.
2018-07-16 12:58:32 -02:30

15 lines
251 B
JavaScript

const selectors = {
gasFeeIsInError,
getGasLoadingError,
}
module.exports = selectors
function getGasLoadingError (state) {
return state.send.errors.gasLoading
}
function gasFeeIsInError (state) {
return Boolean(state.send.errors.gasFee)
}