1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/selectors/custom-gas.js

20 lines
329 B
JavaScript
Raw Normal View History

const selectors = {
getCustomGasPrice,
getCustomGasLimit,
getCustomGasErrors,
}
module.exports = selectors
function getCustomGasPrice (state) {
return state.customGas.price
}
function getCustomGasLimit (state) {
return state.customGas.limit
}
function getCustomGasErrors (state) {
return state.customGas.errors
}