aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorBruno <brunobar79@gmail.com>2018-06-13 13:32:13 +0800
committerBruno <brunobar79@gmail.com>2018-06-13 13:32:13 +0800
commit8763ea898e7838d08315063b0e2181405a2ae3d5 (patch)
tree3acb847a6353e8451dc406d4f3d50f6bf61baebe /ui
parentd4201ae1cc990ba6b69e84586caabc0848c2c38e (diff)
downloadtangerine-wallet-browser-8763ea898e7838d08315063b0e2181405a2ae3d5.tar
tangerine-wallet-browser-8763ea898e7838d08315063b0e2181405a2ae3d5.tar.gz
tangerine-wallet-browser-8763ea898e7838d08315063b0e2181405a2ae3d5.tar.bz2
tangerine-wallet-browser-8763ea898e7838d08315063b0e2181405a2ae3d5.tar.lz
tangerine-wallet-browser-8763ea898e7838d08315063b0e2181405a2ae3d5.tar.xz
tangerine-wallet-browser-8763ea898e7838d08315063b0e2181405a2ae3d5.tar.zst
tangerine-wallet-browser-8763ea898e7838d08315063b0e2181405a2ae3d5.zip
move TrezorKeyring to its own package
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/pages/create-account/connect-hardware.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/pages/create-account/connect-hardware.js b/ui/app/components/pages/create-account/connect-hardware.js
index 6f1e03550..152a4f275 100644
--- a/ui/app/components/pages/create-account/connect-hardware.js
+++ b/ui/app/components/pages/create-account/connect-hardware.js
@@ -25,10 +25,10 @@ class ConnectHardwareForm extends Component {
return null
}
this.setState({ btnText: 'Connecting...' })
- this.getPage()
+ this.getPage(1)
}
- getPage (page = 1) {
+ getPage (page) {
this.props
.connectHardware('trezor', page)
.then(accounts => {
@@ -133,7 +133,7 @@ class ConnectHardwareForm extends Component {
h(
'button.btn-primary.hw-list-pagination__button',
{
- onClick: () => this.getPage(),
+ onClick: () => this.getPage(1),
},
'Next >'
),