diff options
author | Anton Tananaev <anton@traccar.org> | 2024-03-02 21:33:34 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-03-02 21:33:34 -0800 |
commit | c9da10062998a231c038cd3a519f72128fcea2bb (patch) | |
tree | 79677eb44e25bdab185f4a5bb667bd85057b7b12 /modern/src | |
parent | 8c6900bc6cbc0e15e30eb3c60242bdfa93fd5151 (diff) | |
download | trackermap-web-c9da10062998a231c038cd3a519f72128fcea2bb.tar.gz trackermap-web-c9da10062998a231c038cd3a519f72128fcea2bb.tar.bz2 trackermap-web-c9da10062998a231c038cd3a519f72128fcea2bb.zip |
Fix lint issue
Diffstat (limited to 'modern/src')
-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 = { |