mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
20 lines
362 B
JavaScript
20 lines
362 B
JavaScript
const selectors = {
|
|
gasFeeIsInError,
|
|
getGasLoadingError,
|
|
getGasButtonGroupShown,
|
|
}
|
|
|
|
module.exports = selectors
|
|
|
|
function getGasLoadingError (state) {
|
|
return state.send.errors.gasLoading
|
|
}
|
|
|
|
function gasFeeIsInError (state) {
|
|
return Boolean(state.send.errors.gasFee)
|
|
}
|
|
|
|
function getGasButtonGroupShown (state) {
|
|
return state.send.gasButtonGroupShown
|
|
}
|