aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/currency-input/currency-input.container.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/currency-input/currency-input.container.js')
-rw-r--r--ui/app/components/currency-input/currency-input.container.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/app/components/currency-input/currency-input.container.js b/ui/app/components/currency-input/currency-input.container.js
index 1d1ed7b41..4c89d6c1d 100644
--- a/ui/app/components/currency-input/currency-input.container.js
+++ b/ui/app/components/currency-input/currency-input.container.js
@@ -14,14 +14,13 @@ const mapStateToProps = state => {
const mergeProps = (stateProps, dispatchProps, ownProps) => {
const { nativeCurrency, currentCurrency } = stateProps
- const { useFiat } = ownProps
- const suffix = useFiat ? currentCurrency.toUpperCase() : nativeCurrency || ETH
return {
...stateProps,
...dispatchProps,
...ownProps,
- suffix,
+ nativeSuffix: nativeCurrency || ETH,
+ fiatSuffix: currentCurrency.toUpperCase(),
}
}