fix(feed): temporary hide adult torrents from feed

This commit is contained in:
Alexey Kasyanchuk 2018-09-02 05:36:27 +03:00
parent 1b308981dd
commit 0e9ae9584f

View File

@ -35,6 +35,9 @@ export default class RecentTorrents extends Component {
<Divider /> <Divider />
{ {
this.torrents.map((torrent, index) =>{ this.torrents.map((torrent, index) =>{
if(torrent.contentCategory === 'xxx')
return
return <TorrentLine key={index} torrent={torrent} />; return <TorrentLine key={index} torrent={torrent} />;
}) })
} }