aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 14e6a26e2..7468551eb 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -86,9 +86,14 @@ function mapDispatchToProps (dispatch, ownProps) {
hideSidebar: () => dispatch(actions.hideSidebar()),
showNetworkDropdown: () => dispatch(actions.showNetworkDropdown()),
hideNetworkDropdown: () => dispatch(actions.hideNetworkDropdown()),
+ setCurrentCurrencyToUSD: () => dispatch(actions.setCurrentCurrency('usd')),
}
}
+App.prototype.componentWillMount = function () {
+ this.props.setCurrentCurrencyToUSD()
+}
+
App.prototype.render = function () {
var props = this.props
const { isLoading, loadingMessage, network } = props