mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 18:41:38 +01:00
lint fix
This commit is contained in:
parent
3837c2ddd7
commit
9d3f2435e5
@ -532,10 +532,10 @@ module.exports = class MetamaskController extends EventEmitter {
|
|||||||
'Trezor Hardware'
|
'Trezor Hardware'
|
||||||
)[0]
|
)[0]
|
||||||
if (!keyring) {
|
if (!keyring) {
|
||||||
keyring = await this.keyringController.addNewKeyring('Trezor Hardware')
|
keyring = await this.keyringController.addNewKeyring('Trezor Hardware')
|
||||||
}
|
}
|
||||||
|
|
||||||
const accounts = page === 1 ? await keyring.getNextPage() : await keyring.getPreviousPage()
|
const accounts = page === 1 ? await keyring.getNextPage() : await keyring.getPreviousPage()
|
||||||
this.accountTracker.syncWithAddresses(accounts.map(a => a.address))
|
this.accountTracker.syncWithAddresses(accounts.map(a => a.address))
|
||||||
return accounts
|
return accounts
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ const ConnectHardwareForm = require('./connect-hardware')
|
|||||||
const {
|
const {
|
||||||
NEW_ACCOUNT_ROUTE,
|
NEW_ACCOUNT_ROUTE,
|
||||||
IMPORT_ACCOUNT_ROUTE,
|
IMPORT_ACCOUNT_ROUTE,
|
||||||
CONNECT_HARDWARE_ROUTE,
|
CONNECT_HARDWARE_ROUTE,
|
||||||
} = require('../../../routes')
|
} = require('../../../routes')
|
||||||
|
|
||||||
class CreateAccountPage extends Component {
|
class CreateAccountPage extends Component {
|
||||||
|
Loading…
Reference in New Issue
Block a user