remove unneded no-unused-vars

This commit is contained in:
nikk gitanes
2021-06-06 20:27:09 +03:00
parent 2a38d2ad53
commit c03123fdc5
6 changed files with 5 additions and 12 deletions

View File

@@ -8,12 +8,11 @@ import { TorrentListWrapper, CenteredGrid } from 'App/style'
import { useTranslation } from 'react-i18next'
export default function TorrentList() {
const { t } = useTranslation()
const [torrents, setTorrents] = useState([])
const [isLoading, setIsLoading] = useState(true)
const [isOffline, setIsOffline] = useState(true)
const timerID = useRef(-1)
// eslint-disable-next-line no-unused-vars
const { t } = useTranslation()
useEffect(() => {
timerID.current = setInterval(() => {