aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/dropdowns/account-options-dropdown.js
diff options
context:
space:
mode:
authorThomas <tmashuang@gmail.com>2018-03-22 03:25:41 +0800
committerThomas <tmashuang@gmail.com>2018-03-22 03:25:41 +0800
commitd646f377416ea6bfcd7682d21e011be5fa65cd3f (patch)
treedd5a1116920bc73738dcc1fefcc649927230a369 /ui/app/components/dropdowns/account-options-dropdown.js
parent6306c7b1901fa831e25ddd29607618122f805749 (diff)
parent072dd7ea2f7ce189b551b9fc8fd8e58aaaec4158 (diff)
downloadtangerine-wallet-browser-d646f377416ea6bfcd7682d21e011be5fa65cd3f.tar
tangerine-wallet-browser-d646f377416ea6bfcd7682d21e011be5fa65cd3f.tar.gz
tangerine-wallet-browser-d646f377416ea6bfcd7682d21e011be5fa65cd3f.tar.bz2
tangerine-wallet-browser-d646f377416ea6bfcd7682d21e011be5fa65cd3f.tar.lz
tangerine-wallet-browser-d646f377416ea6bfcd7682d21e011be5fa65cd3f.tar.xz
tangerine-wallet-browser-d646f377416ea6bfcd7682d21e011be5fa65cd3f.tar.zst
tangerine-wallet-browser-d646f377416ea6bfcd7682d21e011be5fa65cd3f.zip
Merge branch 'master' into selenium-e2e
Diffstat (limited to 'ui/app/components/dropdowns/account-options-dropdown.js')
-rw-r--r--ui/app/components/dropdowns/account-options-dropdown.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/ui/app/components/dropdowns/account-options-dropdown.js b/ui/app/components/dropdowns/account-options-dropdown.js
deleted file mode 100644
index f74c0a2d4..000000000
--- a/ui/app/components/dropdowns/account-options-dropdown.js
+++ /dev/null
@@ -1,29 +0,0 @@
-const Component = require('react').Component
-const h = require('react-hyperscript')
-const inherits = require('util').inherits
-const AccountDropdowns = require('./components/account-dropdowns')
-
-inherits(AccountOptionsDropdown, Component)
-function AccountOptionsDropdown () {
- Component.call(this)
-}
-
-module.exports = AccountOptionsDropdown
-
-// TODO: specify default props and proptypes
-// TODO: hook up to state, connect to redux to clean up API
-// TODO: selectedAddress is not defined... should we use selected?
-AccountOptionsDropdown.prototype.render = function () {
- const { selected, network, identities, style, dropdownWrapperStyle, menuItemStyles } = this.props
-
- return h(AccountDropdowns, {
- enableAccountOptions: true,
- enableAccountsSelector: false,
- selected,
- network,
- identities,
- style: style || {},
- dropdownWrapperStyle: dropdownWrapperStyle || {},
- menuItemStyles: menuItemStyles || {},
- }, [])
-}