Fix error when downloading your own files

This commit is contained in:
Torjus
2018-07-31 15:30:51 +02:00
parent b3c45d004b
commit 1686e3603f
3 changed files with 6 additions and 6 deletions
@@ -4,11 +4,11 @@ import { shareFiles } from './index';
export const configureDragDrop = () =>
{
dragDrop('body', async(files) => await shareFiles(files));
dragDrop('body', async(files) => await shareFiles(files));
};
export const HoldingOverlay = () => (
<div id='holding-overlay'>
<div id='holding-overlay'>
Drop files here to share them
</div>
</div>
);
+1 -1
View File
@@ -80,7 +80,7 @@ class FileEntry extends Component
const magnetURI = this.props.data.file.magnet;
const existingTorrent = client.get(magnet);
const existingTorrent = client.get(magnetURI);
if (existingTorrent)
{