aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/user-preferenced-token-input/user-preferenced-token-input.container.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/user-preferenced-token-input/user-preferenced-token-input.container.js')
-rw-r--r--ui/app/components/user-preferenced-token-input/user-preferenced-token-input.container.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/ui/app/components/user-preferenced-token-input/user-preferenced-token-input.container.js b/ui/app/components/user-preferenced-token-input/user-preferenced-token-input.container.js
new file mode 100644
index 000000000..416d069dd
--- /dev/null
+++ b/ui/app/components/user-preferenced-token-input/user-preferenced-token-input.container.js
@@ -0,0 +1,13 @@
+import { connect } from 'react-redux'
+import UserPreferencedTokenInput from './user-preferenced-token-input.component'
+import { preferencesSelector } from '../../selectors'
+
+const mapStateToProps = state => {
+ const { useETHAsPrimaryCurrency } = preferencesSelector(state)
+
+ return {
+ useETHAsPrimaryCurrency,
+ }
+}
+
+export default connect(mapStateToProps)(UserPreferencedTokenInput)