Add the torrent URL in the torrent button
This allows us to copy the link without clicking on the button.
This commit is contained in:
parent
199d216323
commit
7cce0052f8
@ -109,7 +109,11 @@ export const TorrentsButton = ({ torrents, search, searching, url }) => {
|
||||
return (
|
||||
<Dropdown.Item
|
||||
key={index}
|
||||
onClick={() => dispatch(addTorrent(e.torrent))}
|
||||
href={e.torrent.url}
|
||||
onClick={(event) => {
|
||||
event.preventDefault();
|
||||
dispatch(addTorrent(e.torrent));
|
||||
}}
|
||||
>
|
||||
{e.quality}
|
||||
{e.size !== 0 && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user