getTorrentList fn changed to support errorCallback

This commit is contained in:
Daniel Shleifman
2021-05-26 11:16:48 +03:00
parent 9ff83ae644
commit 442ca6496b
7 changed files with 13081 additions and 43001 deletions

View File

@@ -36,13 +36,8 @@ export default function MiniDrawer() {
const [isDonationDialogOpen, setIsDonationDialogOpen] = useState(false)
const [tsVersion, setTSVersion] = useState('')
const handleDrawerOpen = () => {
setIsDrawerOpen(true)
}
const handleDrawerClose = () => {
setIsDrawerOpen(false)
}
const handleDrawerOpen = () => setIsDrawerOpen(true)
const handleDrawerClose = () => setIsDrawerOpen(false)
useEffect(() => {
fetch(`${getTorrServerHost()}/echo`)