From 3d14d0f5c86057d9ba14f54f21cfe648dcaf11a0 Mon Sep 17 00:00:00 2001 From: Nicolas Gotchac Date: Mon, 31 Oct 2016 12:47:12 +0100 Subject: [PATCH] PR grumbles (#2930) --- js/src/dapps/registry/Accounts/accounts.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/src/dapps/registry/Accounts/accounts.js b/js/src/dapps/registry/Accounts/accounts.js index 9e33702bd76..e8d8c2bd20e 100644 --- a/js/src/dapps/registry/Accounts/accounts.js +++ b/js/src/dapps/registry/Accounts/accounts.js @@ -36,6 +36,8 @@ export default class Accounts extends Component { render () { const { all, selected } = this.props; + const origin = { horizontal: 'right', vertical: 'top' }; + const accountsButton = ( { selected @@ -50,8 +52,8 @@ export default class Accounts extends Component { onChange={ this.onAccountSelect } iconButtonElement={ accountsButton } - anchorOrigin={ { horizontal: 'right', vertical: 'top' } } - targetOrigin={ { horizontal: 'right', vertical: 'top' } } + anchorOrigin={ origin } + targetOrigin={ origin } > { Object.values(all).map(this.renderAccount) }