diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-08-11 17:02:02 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-08-11 17:02:02 +0800 |
commit | 8e842a8947997b7ea47cf35d1348788d21f2f467 (patch) | |
tree | 76721162db6ac43f1c878812a2397977b80a1359 /ui/app/components/pages/create-account/connect-hardware/index.js | |
parent | 78a1cd3314455d6e4e08839a3eea3ec2868f4f59 (diff) | |
download | tangerine-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.js | 4 |
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 => { |