aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pages/create-account/connect-hardware/index.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-08-11 17:02:02 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-08-11 17:02:02 +0800
commit8e842a8947997b7ea47cf35d1348788d21f2f467 (patch)
tree76721162db6ac43f1c878812a2397977b80a1359 /ui/app/components/pages/create-account/connect-hardware/index.js
parent78a1cd3314455d6e4e08839a3eea3ec2868f4f59 (diff)
downloadtangerine-wallet-browser-8e842a8947997b7ea47cf35d1348788d21f2f467.tar.gz
tangerine-wallet-browser-8e842a8947997b7ea47cf35d1348788d21f2f467.tar.zst
tangerine-wallet-browser-8e842a8947997b7ea47cf35d1348788d21f2f467.zip
able to add accounts
Diffstat (limited to 'ui/app/components/pages/create-account/connect-hardware/index.js')
-rw-r--r--ui/app/components/pages/create-account/connect-hardware/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/pages/create-account/connect-hardware/index.js b/ui/app/components/pages/create-account/connect-hardware/index.js
index 86a4d7257..644742172 100644
--- a/ui/app/components/pages/create-account/connect-hardware/index.js
+++ b/ui/app/components/pages/create-account/connect-hardware/index.js
@@ -128,13 +128,13 @@ class ConnectHardwareForm extends Component {
})
}
- onUnlockAccount = () => {
+ onUnlockAccount = (device) => {
if (this.state.selectedAccount === null) {
this.setState({ error: this.context.t('accountSelectionRequired') })
}
- this.props.unlockHardwareWalletAccount(this.state.selectedAccount, this.state.device)
+ this.props.unlockHardwareWalletAccount(this.state.selectedAccount, device)
.then(_ => {
this.props.history.push(DEFAULT_ROUTE)
}).catch(e => {