From 4c413dfd68a07235780db2037e4171f34c734da3 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Thu, 11 Oct 2018 23:06:03 +0300 Subject: [PATCH] DeepScan suggestions were implemented --- old-ui/app/app.js | 4 ++-- old-ui/app/components/token-cell.js | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/old-ui/app/app.js b/old-ui/app/app.js index b784eb0fc..d20c80f18 100644 --- a/old-ui/app/app.js +++ b/old-ui/app/app.js @@ -208,7 +208,7 @@ App.prototype.renderAppBar = function () { alignItems: 'center', }, }, [ - props.isUnlocked && h(AccountDropdowns, { + h(AccountDropdowns, { style: {}, enableAccountsSelector: true, identities: this.props.identities, @@ -218,7 +218,7 @@ App.prototype.renderAppBar = function () { }, []), // hamburger - props.isUnlocked && h('div', { + h('div', { className: state.sandwichClass || 'sandwich-expando', style: { width: 16, diff --git a/old-ui/app/components/token-cell.js b/old-ui/app/components/token-cell.js index e24000318..6a80ea324 100644 --- a/old-ui/app/components/token-cell.js +++ b/old-ui/app/components/token-cell.js @@ -141,9 +141,7 @@ TokenCell.prototype.send = function (address, event) { event.preventDefault() event.stopPropagation() const url = tokenFactoryFor(address) - if (url) { - navigateTo(url) - } + navigateTo(url) } TokenCell.prototype.view = function (address, userAddress, network, event) {