mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
Merge branch 'master' of https://github.com/YouROK/TorrServer
This commit is contained in:
@@ -39,7 +39,11 @@ export default function LeftSideComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
const [isTorrentSourceActive, setIsTorrentSourceActive] = useState(false)
|
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)
|
const handleTorrentSourceChange = ({ target: { value } }) => setTorrentSource(value)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user