diff options
author | Dan <danjm.com@gmail.com> | 2017-08-29 22:50:48 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-08-31 19:16:07 +0800 |
commit | e7b3ef0708290a81dad5c469adaa6fab3f1c45b5 (patch) | |
tree | 29f471ff840cf3eb97af77de45eb136a703e7aa6 /ui/app/main-container.js | |
parent | 3ea841e27621a8e9972677e46dbd8e3f0c002632 (diff) | |
download | tangerine-wallet-browser-e7b3ef0708290a81dad5c469adaa6fab3f1c45b5.tar.gz tangerine-wallet-browser-e7b3ef0708290a81dad5c469adaa6fab3f1c45b5.tar.zst tangerine-wallet-browser-e7b3ef0708290a81dad5c469adaa6fab3f1c45b5.zip |
Lint fixes
Diffstat (limited to 'ui/app/main-container.js')
-rw-r--r-- | ui/app/main-container.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/main-container.js b/ui/app/main-container.js index 31583f3e5..eaaff8517 100644 --- a/ui/app/main-container.js +++ b/ui/app/main-container.js @@ -1,8 +1,6 @@ const Component = require('react').Component const h = require('react-hyperscript') const inherits = require('util').inherits -const TxView = require('./components/tx-view') -const WalletView = require('./components/wallet-view') const AccountAndTransactionDetails = require('./account-and-transaction-details') const HDRestoreVaultScreen = require('./keychains/hd/restore-vault') const ConfigScreen = require('./config') @@ -24,7 +22,7 @@ MainContainer.prototype.render = function () { // - router in separate func let contents = { component: AccountAndTransactionDetails, - key: 'account-detail', + key: 'account-detail', style: {}, } @@ -36,12 +34,14 @@ MainContainer.prototype.render = function () { component: HDRestoreVaultScreen, key: 'HDRestoreVaultScreen', } + break case 'config': log.debug('rendering config screen from unlock screen.') contents = { component: ConfigScreen, key: 'config', } + break default: log.debug('rendering locked screen') contents = { @@ -65,7 +65,7 @@ MainContainer.prototype.render = function () { }, [ h(contents.component, { key: contents.key, - }, []) + }, []), ]) } |