diff options
Diffstat (limited to 'ui/app/selectors.js')
-rw-r--r-- | ui/app/selectors.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/ui/app/selectors.js b/ui/app/selectors.js index a29294b86..3e2253550 100644 --- a/ui/app/selectors.js +++ b/ui/app/selectors.js @@ -16,8 +16,7 @@ const selectors = { transactionsSelector, accountsWithSendEtherInfoSelector, getCurrentAccountWithSendEtherInfo, - getGasPrice, - getGasLimit, + getGasIsLoading, getForceGasMin, getAddressBook, getSendFrom, @@ -117,12 +116,8 @@ function transactionsSelector (state) { .sort((a, b) => b.time - a.time) } -function getGasPrice (state) { - return state.metamask.send.gasPrice -} - -function getGasLimit (state) { - return state.metamask.send.gasLimit +function getGasIsLoading (state) { + return state.appState.gasIsLoading } function getForceGasMin (state) { |