aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/gas-customization/gas.selectors.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/gas-customization/gas.selectors.js')
-rw-r--r--ui/app/components/gas-customization/gas.selectors.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/ui/app/components/gas-customization/gas.selectors.js b/ui/app/components/gas-customization/gas.selectors.js
new file mode 100644
index 000000000..89374b5f1
--- /dev/null
+++ b/ui/app/components/gas-customization/gas.selectors.js
@@ -0,0 +1,14 @@
+const selectors = {
+ getCurrentBlockTime,
+ getBasicGasEstimateLoadingStatus,
+}
+
+module.exports = selectors
+
+function getCurrentBlockTime (state) {
+ return state.gas.currentBlockTime
+}
+
+function getBasicGasEstimateLoadingStatus (state) {
+ return state.gas.basicEstimateIsLoading
+}