aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-04 03:46:15 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-04 03:46:15 +0800
commit9d3f2435e58e2454506ea1a5f7b85452a10edffa (patch)
tree417359c428576c000873c83b23c79f57c58bcbc0
parent3837c2ddd7b3ea7a301f9296176273ac84d90480 (diff)
downloadtangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar
tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar.gz
tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar.bz2
tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar.lz
tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar.xz
tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.tar.zst
tangerine-wallet-browser-9d3f2435e58e2454506ea1a5f7b85452a10edffa.zip
lint fix
-rw-r--r--app/scripts/metamask-controller.js4
-rw-r--r--ui/app/components/pages/create-account/index.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index 6e743d030..962611758 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -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
diff --git a/ui/app/components/pages/create-account/index.js b/ui/app/components/pages/create-account/index.js
index ad2081315..d3de1ea01 100644
--- a/ui/app/components/pages/create-account/index.js
+++ b/ui/app/components/pages/create-account/index.js
@@ -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 {