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

@@ -13,9 +13,8 @@ import { useTranslation } from 'react-i18next'
import { echoHost } from 'utils/Hosts'
export default function AboutDialog() {
const [open, setOpen] = useState(false)
// eslint-disable-next-line no-unused-vars
const { t } = useTranslation()
const [open, setOpen] = useState(false)
const [torrServerVersion, setTorrServerVersion] = useState('')
useEffect(() => {
axios.get(echoHost()).then(({ data }) => setTorrServerVersion(data))