aboutsummaryrefslogtreecommitdiff
path: root/modern/src/settings/UsersPage.jsx
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2024-02-24 16:02:48 -0800
committerAnton Tananaev <anton@traccar.org>2024-02-24 16:02:48 -0800
commit8bd7cba6f5ce56bcccda1459cdd953b3add799d6 (patch)
treed133b5e57cee061fd49eeddcec35dc3b38254a6d /modern/src/settings/UsersPage.jsx
parent3106f6ab617b23d6fb2587c3cde2b684abac2605 (diff)
downloadtrackermap-web-8bd7cba6f5ce56bcccda1459cdd953b3add799d6.tar.gz
trackermap-web-8bd7cba6f5ce56bcccda1459cdd953b3add799d6.tar.bz2
trackermap-web-8bd7cba6f5ce56bcccda1459cdd953b3add799d6.zip
Fix lint and issues
Diffstat (limited to 'modern/src/settings/UsersPage.jsx')
-rw-r--r--modern/src/settings/UsersPage.jsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/settings/UsersPage.jsx b/modern/src/settings/UsersPage.jsx
index e54ecc01..2941965b 100644
--- a/modern/src/settings/UsersPage.jsx
+++ b/modern/src/settings/UsersPage.jsx
@@ -1,7 +1,7 @@
import React, { useState } from 'react';
import { useNavigate } from 'react-router-dom';
import {
- Table, TableRow, TableCell, TableHead, TableBody, Switch, TableFooter, FormControlLabel, FormControl, FormGroup, Grid,
+ Table, TableRow, TableCell, TableHead, TableBody, Switch, TableFooter, FormControlLabel,
} from '@mui/material';
import LoginIcon from '@mui/icons-material/Login';
import LinkIcon from '@mui/icons-material/Link';
@@ -81,7 +81,7 @@ const UsersPage = () => {
<TableCell>{t('userAdmin')}</TableCell>
<TableCell>{t('sharedDisabled')}</TableCell>
<TableCell>{t('userExpirationTime')}</TableCell>
- <TableCell className={classes.columnAction}></TableCell>
+ <TableCell className={classes.columnAction} />
</TableRow>
</TableHead>
<TableBody>
@@ -108,13 +108,13 @@ const UsersPage = () => {
<TableRow>
<TableCell colSpan={6} align="right">
<FormControlLabel
- control={
+ control={(
<Switch
value={temporary}
onChange={(e) => setTemporary(e.target.checked)}
size="small"
/>
- }
+ )}
label={t('userTemporary')}
labelPlacement="start"
/>