Browse Source

fix(lints): Use parens for explicit precedence

renovate/lint-staged-8.x
Ben Woosley 7 years ago
parent
commit
7ba78d629c
No known key found for this signature in database GPG Key ID: 6EE5F3785F78B345
  1. 2
      app/components/Network/CanvasNetworkGraph.js

2
app/components/Network/CanvasNetworkGraph.js

@ -235,7 +235,7 @@ class CanvasNetworkGraph extends Component {
this.node = this.node.enter()
.append('circle')
.attr('stroke', () => 'silver')
.attr('fill', d => d.pub_key === identity_pubkey ? '#FFF' : '#353535')
.attr('fill', d => (d.pub_key === identity_pubkey ? '#FFF' : '#353535'))
.attr('r', () => 100)
.attr('id', d => `node-${d.pub_key}`)
.attr('class', 'network-node')

Loading…
Cancel
Save