Fix accidentally removed line - sending nodes on getPeersRequest
This commit is contained in:
parent
42b1fb09c2
commit
558aa3f246
2 changed files with 6 additions and 5 deletions
|
|
@ -505,11 +505,10 @@ const FileSelectionModal = (props: {
|
|||
|
||||
const handleUpload = async () => {
|
||||
setUploading(true);
|
||||
API.uploadTorrent(data, { selectedFiles, unpopularTorrent }).then(
|
||||
() => {
|
||||
onHide();
|
||||
ctx.refreshTorrents();
|
||||
},
|
||||
API.uploadTorrent(data, { selectedFiles, unpopularTorrent }).then(() => {
|
||||
onHide();
|
||||
ctx.refreshTorrents();
|
||||
},
|
||||
(e) => {
|
||||
setUploadError({ text: 'Error starting torrent', details: e });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue