mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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'
|
||||
)[0]
|
||||
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))
|
||||
return accounts
|
||||
|
||||
|
@ -12,7 +12,7 @@ const ConnectHardwareForm = require('./connect-hardware')
|
||||
const {
|
||||
NEW_ACCOUNT_ROUTE,
|
||||
IMPORT_ACCOUNT_ROUTE,
|
||||
CONNECT_HARDWARE_ROUTE,
|
||||
CONNECT_HARDWARE_ROUTE,
|
||||
} = require('../../../routes')
|
||||
|
||||
class CreateAccountPage extends Component {
|
||||
|
Loading…
Reference in New Issue
Block a user