eslint fixes
This commit is contained in:
parent
3fc7a3e594
commit
b733a17643
@ -311,11 +311,11 @@ export default class TorrentPage extends Page {
|
||||
if(this.state.searchingIndicator) {
|
||||
return (
|
||||
<div className='pad1 w100p column center'>
|
||||
<div className='row center pad0-75'>
|
||||
<RaisedButton label={__('Back to main page')} primary={true} onClick={() => {
|
||||
window.router('/')
|
||||
}} />
|
||||
</div>
|
||||
<div className='row center pad0-75'>
|
||||
<RaisedButton label={__('Back to main page')} primary={true} onClick={() => {
|
||||
window.router('/')
|
||||
}} />
|
||||
</div>
|
||||
<RefreshIndicator
|
||||
size={50}
|
||||
left={0}
|
||||
|
@ -218,9 +218,9 @@ export default class Torrent extends Component {
|
||||
}
|
||||
render()
|
||||
{
|
||||
const torrent = this.props.torrent;
|
||||
if(!torrent)
|
||||
return null // can try draw null torrent (for example on downloading not started)
|
||||
const torrent = this.props.torrent;
|
||||
if(!torrent)
|
||||
return null // can try draw null torrent (for example on downloading not started)
|
||||
|
||||
let torrentRating = -1
|
||||
if(torrent.good > 0 || torrent.bad > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user