aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/deposit-ether-modal.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-04-25 00:01:39 +0800
committerDan <danjm.com@gmail.com>2018-04-25 00:01:39 +0800
commit02a6d2089ede7d3faf4990c40b85b9f773f82c64 (patch)
treea46c581fae872d7ced368f067b8ae7b0df0778fd /ui/app/components/modals/deposit-ether-modal.js
parent59c887301aba5d746d669441ec78ef7ec5de3146 (diff)
parent66ae4a948abbebdb513f9bd60d47fda36095e8df (diff)
downloadtangerine-wallet-browser-02a6d2089ede7d3faf4990c40b85b9f773f82c64.tar
tangerine-wallet-browser-02a6d2089ede7d3faf4990c40b85b9f773f82c64.tar.gz
tangerine-wallet-browser-02a6d2089ede7d3faf4990c40b85b9f773f82c64.tar.bz2
tangerine-wallet-browser-02a6d2089ede7d3faf4990c40b85b9f773f82c64.tar.lz
tangerine-wallet-browser-02a6d2089ede7d3faf4990c40b85b9f773f82c64.tar.xz
tangerine-wallet-browser-02a6d2089ede7d3faf4990c40b85b9f773f82c64.tar.zst
tangerine-wallet-browser-02a6d2089ede7d3faf4990c40b85b9f773f82c64.zip
Merge branch 'master' into i3725-refactor-send-component
Diffstat (limited to 'ui/app/components/modals/deposit-ether-modal.js')
-rw-r--r--ui/app/components/modals/deposit-ether-modal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/modals/deposit-ether-modal.js b/ui/app/components/modals/deposit-ether-modal.js
index 0dc611f50..ad5f9b695 100644
--- a/ui/app/components/modals/deposit-ether-modal.js
+++ b/ui/app/components/modals/deposit-ether-modal.js
@@ -4,7 +4,7 @@ const h = require('react-hyperscript')
const inherits = require('util').inherits
const connect = require('react-redux').connect
const actions = require('../../actions')
-const networkNames = require('../../../../app/scripts/config.js').networkNames
+const { getNetworkDisplayName } = require('../../../../app/scripts/controllers/network/util')
const ShapeshiftForm = require('../shapeshift-form')
let DIRECT_DEPOSIT_ROW_TITLE
@@ -122,7 +122,7 @@ DepositEtherModal.prototype.render = function () {
const { buyingWithShapeshift } = this.state
const isTestNetwork = ['3', '4', '42'].find(n => n === network)
- const networkName = networkNames[network]
+ const networkName = getNetworkDisplayName(network)
return h('div.page-container.page-container--full-width.page-container--full-height', {}, [