aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2023-05-18 22:46:58 -0700
committerAnton Tananaev <anton@traccar.org>2023-05-18 22:46:58 -0700
commit98695393839b67af9dabf7c743661219468a682a (patch)
tree42e9e2f46d3ef77aa88db8e1d65ac84259c97610
parent2d1a2ae80337831ca28090c7bbdee6b47ff9de39 (diff)
downloadtrackermap-web-98695393839b67af9dabf7c743661219468a682a.tar.gz
trackermap-web-98695393839b67af9dabf7c743661219468a682a.tar.bz2
trackermap-web-98695393839b67af9dabf7c743661219468a682a.zip
Remove server switch
-rw-r--r--modern/src/login/LoginPage.js13
1 files changed, 2 insertions, 11 deletions
diff --git a/modern/src/login/LoginPage.js b/modern/src/login/LoginPage.js
index 59e64bed..8a176768 100644
--- a/modern/src/login/LoginPage.js
+++ b/modern/src/login/LoginPage.js
@@ -1,11 +1,10 @@
import React, { useEffect, useState } from 'react';
import moment from 'moment';
import {
- useMediaQuery, InputLabel, Select, MenuItem, FormControl, Button, TextField, Link, Snackbar, IconButton, Tooltip, LinearProgress,
+ useMediaQuery, InputLabel, Select, MenuItem, FormControl, Button, TextField, Link, Snackbar, IconButton, LinearProgress,
} from '@mui/material';
import makeStyles from '@mui/styles/makeStyles';
import CloseIcon from '@mui/icons-material/Close';
-import LockOpenIcon from '@mui/icons-material/LockOpen';
import { useTheme } from '@mui/material/styles';
import { useDispatch, useSelector } from 'react-redux';
import { useNavigate } from 'react-router-dom';
@@ -142,15 +141,7 @@ const LoginPage = () => {
return (
<LoginLayout>
- <div className={classes.options}>
- {nativeEnvironment && (
- <Tooltip title={t('settingsServer')}>
- <IconButton onClick={() => navigate('/change-server')}>
- <LockOpenIcon />
- </IconButton>
- </Tooltip>
- )}
- </div>
+ <div className={classes.options} />
<div className={classes.container}>
{useMediaQuery(theme.breakpoints.down('lg')) && <LogoImage color={theme.palette.primary.main} />}
<TextField