From c9da10062998a231c038cd3a519f72128fcea2bb Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 2 Mar 2024 21:33:34 -0800 Subject: Fix lint issue --- modern/src/settings/DevicesPage.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modern/src/settings/DevicesPage.jsx b/modern/src/settings/DevicesPage.jsx index e4bfe5b5..c0da0ba7 100644 --- a/modern/src/settings/DevicesPage.jsx +++ b/modern/src/settings/DevicesPage.jsx @@ -5,7 +5,7 @@ import { Table, TableRow, TableCell, TableHead, TableBody, Button, TableFooter, } from '@mui/material'; import LinkIcon from '@mui/icons-material/Link'; -import { useCatch, useEffectAsync } from '../reactHelper'; +import { useEffectAsync } from '../reactHelper'; import { useTranslation } from '../common/components/LocalizationProvider'; import PageLayout from '../common/components/PageLayout'; import SettingsMenu from './components/SettingsMenu'; @@ -49,7 +49,7 @@ const DevicesPage = () => { }, [timestamp]); const handleExport = () => { - window.location.assign(`/api/reports/devices/xlsx`); + window.location.assign('/api/reports/devices/xlsx'); }; const actionConnections = { -- cgit v1.2.3