aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/selectors/custom-gas.js
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-08-03 00:02:22 +0800
committerDan Miller <danjm.com@gmail.com>2018-12-04 11:36:04 +0800
commit342dc95410b10f042b3f8ee4135f5fef1fd6fe93 (patch)
tree83f6e8a0500e91fef1fdc9f460c03dc638e33f99 /ui/app/selectors/custom-gas.js
parent5e7409482b6fc55eafc330e4bc119f7485f068bb (diff)
downloadtangerine-wallet-browser-342dc95410b10f042b3f8ee4135f5fef1fd6fe93.tar.gz
tangerine-wallet-browser-342dc95410b10f042b3f8ee4135f5fef1fd6fe93.tar.zst
tangerine-wallet-browser-342dc95410b10f042b3f8ee4135f5fef1fd6fe93.zip
Adds the content of the advanced tab - w/o chart or dynamic content - to gas customize modal.
Diffstat (limited to 'ui/app/selectors/custom-gas.js')
-rw-r--r--ui/app/selectors/custom-gas.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/ui/app/selectors/custom-gas.js b/ui/app/selectors/custom-gas.js
new file mode 100644
index 000000000..97280190f
--- /dev/null
+++ b/ui/app/selectors/custom-gas.js
@@ -0,0 +1,19 @@
+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
+}