diff --git a/web/src/components/Add/LeftSideComponent.jsx b/web/src/components/Add/LeftSideComponent.jsx index 7bb785a..8f4289c 100644 --- a/web/src/components/Add/LeftSideComponent.jsx +++ b/web/src/components/Add/LeftSideComponent.jsx @@ -39,7 +39,11 @@ export default function LeftSideComponent({ } const [isTorrentSourceActive, setIsTorrentSourceActive] = useState(false) - const { getRootProps, getInputProps, isDragActive } = useDropzone({ onDrop: handleCapture, accept: '.torrent' }) + const { getRootProps, getInputProps, isDragActive } = useDropzone({ + onDrop: handleCapture, + accept: '.torrent', + multiple: false, + }) const handleTorrentSourceChange = ({ target: { value } }) => setTorrentSource(value)