diff options
-rw-r--r-- | modern/src/settings/DevicesPage.jsx | 4 |
1 files 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 = { |