aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/main-container.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@users.noreply.github.com>2017-10-27 14:02:56 +0800
committerDaniel Tsui <szehungdanieltsui@gmail.com>2017-10-27 14:02:56 +0800
commit4e8d8639cb29bd47c110765467393865e1c19f4e (patch)
treee05bc657bedede06fd9f7b839ca3f29f36f3f8ed /ui/app/main-container.js
parent3d53716f4366212ed7a51b49ce747584b13fd1ce (diff)
downloadtangerine-wallet-browser-4e8d8639cb29bd47c110765467393865e1c19f4e.tar.gz
tangerine-wallet-browser-4e8d8639cb29bd47c110765467393865e1c19f4e.tar.zst
tangerine-wallet-browser-4e8d8639cb29bd47c110765467393865e1c19f4e.zip
Fix Settings/Info screen being visible on logout (#2490)
Diffstat (limited to 'ui/app/main-container.js')
-rw-r--r--ui/app/main-container.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/app/main-container.js b/ui/app/main-container.js
index 6e2342c2b..031f61e84 100644
--- a/ui/app/main-container.js
+++ b/ui/app/main-container.js
@@ -37,11 +37,7 @@ MainContainer.prototype.render = function () {
break
case 'config':
log.debug('rendering config screen from unlock screen.')
- contents = {
- component: Settings,
- key: 'config',
- }
- break
+ return h(Settings, {key: 'config'})
default:
log.debug('rendering locked screen')
contents = {