Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danjm committed Dec 2, 2019
1 parent e0f889a commit c20d2b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/app/selectors/selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ function getAddressConnectedDomainMap (state) {
const exposedAccountCaveat = caveats.find(caveat => caveat.name === 'exposedAccounts')
if (exposedAccountCaveat && exposedAccountCaveat.value && exposedAccountCaveat.value.length) {
exposedAccountCaveat.value.forEach(address => {
const nameToRender = name ? name : domainKey
const nameToRender = name || domainKey
addressConnectedIconMap[address] = addressConnectedIconMap[address]
? { ...addressConnectedIconMap[address], [domainKey]: { icon, name: nameToRender } }
: { [domainKey]: { icon, name: nameToRender } }
Expand Down Expand Up @@ -543,7 +543,7 @@ function getRenderablePermissionsDomains (state) {
: ''

return [ ...acc, {
name: name ? name : domainKey,
name: name || domainKey,
secondaryName: name ? domainKey : '',
icon,
key: domainKey,
Expand Down

0 comments on commit c20d2b0

Please sign in to comment.