отображение списка файлов

This commit is contained in:
Alexey Kasyanchuk
2017-01-01 10:06:08 +03:00
parent 6fc2d2efb4
commit e71cf5f1bf
3 changed files with 28 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export default class RecentTorrents extends Component {
{
this.torrents.map((torrent, index) =>{
return(
<div key={index}>
<div key={index} className='clickable' onClick={() => window.router('/torrent/' + torrent.hash)}>
{torrent.name}
</div>
);