diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-31 07:24:08 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-31 07:24:08 -0700 |
commit | 25eaee59556b82ca02d4ecb398da93aa0f94cb08 (patch) | |
tree | d322a8979c794586e9ccab0d580d9fd881ccfd36 /modern/src/login | |
parent | 5f86dec31528d8c06608e1a37ac5529bca91ad78 (diff) | |
download | trackermap-web-25eaee59556b82ca02d4ecb398da93aa0f94cb08.tar.gz trackermap-web-25eaee59556b82ca02d4ecb398da93aa0f94cb08.tar.bz2 trackermap-web-25eaee59556b82ca02d4ecb398da93aa0f94cb08.zip |
Remove app switch
Diffstat (limited to 'modern/src/login')
-rw-r--r-- | modern/src/login/LoginPage.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modern/src/login/LoginPage.js b/modern/src/login/LoginPage.js index c108f739..87192a3f 100644 --- a/modern/src/login/LoginPage.js +++ b/modern/src/login/LoginPage.js @@ -4,7 +4,6 @@ import { } from '@mui/material'; import makeStyles from '@mui/styles/makeStyles'; import CloseIcon from '@mui/icons-material/Close'; -import CachedIcon from '@mui/icons-material/Cached'; import LockOpenIcon from '@mui/icons-material/LockOpen'; import { useTheme } from '@mui/material/styles'; import { useDispatch, useSelector } from 'react-redux'; @@ -97,11 +96,6 @@ const LoginPage = () => { return ( <LoginLayout> <div className={classes.options}> - <Tooltip title="Switch to Legacy App"> - <IconButton onClick={() => window.localStorage.setItem('legacyApp', true) || window.location.replace('/')}> - <CachedIcon /> - </IconButton> - </Tooltip> {(window.appInterface || (window.webkit && window.webkit.messageHandlers.appInterface)) && ( <Tooltip title={t('settingsServer')}> <IconButton onClick={() => navigate('/change-server')}> |