diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-09 09:44:20 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-09 09:44:20 +0800 |
commit | bdf5436c2d26304b226734e4295ee319ed67b954 (patch) | |
tree | 3766917e8f33c485128e5fc872c7d68093094a1f /ui/app/app.js | |
parent | c8893fb9cac245c7ec22c8a01a12458c56a8e56a (diff) | |
download | tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.gz tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.bz2 tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.lz tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.xz tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.tar.zst tangerine-wallet-browser-bdf5436c2d26304b226734e4295ee319ed67b954.zip |
Add minor comments and cleanup for new components
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 5c594c8cf..3ffa9f0d5 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -98,10 +98,7 @@ App.prototype.render = function () { h('.flex-column.full-height', { style: { - // Windows was showing a vertical scroll bar: overflowX: 'hidden', - // TODO: check with dev who committed L75, see if this still happens, and whether auto is enough - // overflowY: 'auto', position: 'relative', alignItems: 'center', }, @@ -140,9 +137,6 @@ App.prototype.renderGlobalModal = function() { } App.prototype.renderSidebar = function() { - // if (!this.props.sidebarOpen) { - // return null; - // } return h('div', { }, [ @@ -170,7 +164,7 @@ App.prototype.renderSidebar = function() { transitionEnterTimeout: 300, transitionLeaveTimeout: 200, }, [ - // content + // A second instance of Walletview is used for non-mobile viewports this.props.sidebarOpen ? h(WalletView, { responsiveDisplayClassname: '.sidebar', style: {}, @@ -502,10 +496,6 @@ App.prototype.renderPrimary = function () { }) } - // Note for @Zanibar - isUnlocked stays true. - // console.log("props.isUnlocked", props.isUnlocked) - // console.log("props.isUnlocked", props.currentView.name) - // show current view switch (props.currentView.name) { |