diff options
Manually linted
Diffstat (limited to 'ui/app/settings.js')
-rw-r--r-- | ui/app/settings.js | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/ui/app/settings.js b/ui/app/settings.js index 2b0c16c62..e56f4ee63 100644 --- a/ui/app/settings.js +++ b/ui/app/settings.js @@ -2,17 +2,12 @@ const inherits = require('util').inherits const Component = require('react').Component const h = require('react-hyperscript') const connect = require('react-redux').connect -const copyToClipboard = require('copy-to-clipboard') const actions = require('./actions') -const AccountPanel = require('./components/account-panel') module.exports = connect(mapStateToProps)(AppSettingsPage) function mapStateToProps (state) { - return { - identities: state.metamask.identities, - address: state.appState.currentView.context, - } + return {} } inherits(AppSettingsPage, Component) @@ -21,8 +16,6 @@ function AppSettingsPage () { } AppSettingsPage.prototype.render = function () { - var state = this.props - var identity = state.identities[state.address] return ( h('.account-detail-section.flex-column.flex-grow', [ |