Browse Source
fix(lints): Don't return assignment in ref setters
renovate/lint-staged-8.x
Ben Woosley
7 years ago
No known key found for this signature in database
GPG Key ID: 6EE5F3785F78B345
2 changed files with
2 additions and
2 deletions
-
app/routes/channels/components/Channels.js
-
app/routes/peers/components/Peers.js
|
|
@ -127,7 +127,7 @@ class Channels extends Component { |
|
|
|
</ul> |
|
|
|
</section> |
|
|
|
<section className={styles.refreshContainer}> |
|
|
|
<span className={styles.refresh} onClick={refreshClicked} ref={(ref) => (this.repeat = ref)}> |
|
|
|
<span className={styles.refresh} onClick={refreshClicked} ref={(ref) => { this.repeat = ref }}> |
|
|
|
{ |
|
|
|
this.state.refreshing ? |
|
|
|
<FaRepeat /> |
|
|
|
|
|
@ -98,7 +98,7 @@ class Peers extends Component { |
|
|
|
</div> |
|
|
|
|
|
|
|
<div className={styles.refreshContainer}> |
|
|
|
<span className={styles.refresh} onClick={refreshClicked} ref={(ref) => (this.repeat = ref)}> |
|
|
|
<span className={styles.refresh} onClick={refreshClicked} ref={(ref) => { this.repeat = ref }}> |
|
|
|
{ |
|
|
|
this.state.refreshing ? |
|
|
|
<FaRepeat /> |
|
|
|