mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-12 20:57:12 +01:00
b3d78ed8a1
Revert accidentally changed constants. Require defaults in ens-input, gas-fee-display and confirm screens.
15 lines
251 B
JavaScript
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)
|
|
}
|