aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-15 15:00:07 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-15 15:00:07 -0700
commit3d3b8096392f074baa7178d2a026525503657d50 (patch)
tree6f69db0752c4aac2b6e2e463576f617e32f2e6ab /modern
parent06dd04d074a79a082a51d37bb84a19d49b29fc05 (diff)
downloadtrackermap-web-3d3b8096392f074baa7178d2a026525503657d50.tar.gz
trackermap-web-3d3b8096392f074baa7178d2a026525503657d50.tar.bz2
trackermap-web-3d3b8096392f074baa7178d2a026525503657d50.zip
Fix style issues
Diffstat (limited to 'modern')
-rw-r--r--modern/src/settings/UserPage.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/modern/src/settings/UserPage.js b/modern/src/settings/UserPage.js
index a4a5b0fb..a0f6f753 100644
--- a/modern/src/settings/UserPage.js
+++ b/modern/src/settings/UserPage.js
@@ -7,6 +7,7 @@ import {
import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
import CachedIcon from '@material-ui/icons/Cached';
import { useDispatch, useSelector } from 'react-redux';
+import moment from 'moment';
import EditItemView from './components/EditItemView';
import EditAttributesView from './components/EditAttributesView';
import LinkField from '../common/components/LinkField';
@@ -18,7 +19,6 @@ import SettingsMenu from './components/SettingsMenu';
import useCommonUserAttributes from '../common/attributes/useCommonUserAttributes';
import { useAdministrator, useManager } from '../common/util/permissions';
import { prefixString } from '../common/util/stringUtils';
-import moment from 'moment';
const useStyles = makeStyles(() => ({
details: {
@@ -216,7 +216,8 @@ const UserPage = () => {
<IconButton onClick={() => {
const token = [...Array(30)].map(() => Math.random().toString(36)[2]).join('');
setItem({ ...item, token });
- }}>
+ }}
+ >
<CachedIcon />
</IconButton>
</InputAdornment>