diff options
author | rahighi <rahighi> | 2021-08-28 11:33:19 +0430 |
---|---|---|
committer | rahighi <rahighi> | 2021-08-28 11:33:19 +0430 |
commit | 6587ea34698054175917aab54860bcac4bb38ff3 (patch) | |
tree | 5a789b3cc1c665712526ce80d0ff34e873c4aa22 /modern/src/MainPage.js | |
parent | 2f486cb70ec99098458da5912a48893175102001 (diff) | |
download | trackermap-web-6587ea34698054175917aab54860bcac4bb38ff3.tar.gz trackermap-web-6587ea34698054175917aab54860bcac4bb38ff3.tar.bz2 trackermap-web-6587ea34698054175917aab54860bcac4bb38ff3.zip |
Removed remaining RTL parts
Diffstat (limited to 'modern/src/MainPage.js')
-rw-r--r-- | modern/src/MainPage.js | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/modern/src/MainPage.js b/modern/src/MainPage.js index 97f42ea3..e0707404 100644 --- a/modern/src/MainPage.js +++ b/modern/src/MainPage.js @@ -9,7 +9,6 @@ import useMediaQuery from '@material-ui/core/useMediaQuery'; import AddIcon from '@material-ui/icons/Add'; import CloseIcon from '@material-ui/icons/Close'; import ArrowBackIcon from '@material-ui/icons/ArrowBack'; -import ArrowForwardIcon from '@material-ui/icons/ArrowForward'; import ListIcon from '@material-ui/icons/ViewList'; import DevicesList from './DevicesList'; @@ -132,9 +131,9 @@ const MainPage = () => { <Paper className={classes.paper} square elevation={3}> <Toolbar className={classes.toolbar} disableGutters> {isTablet && ( - <IconButton onClick={handleClose}> - {theme.direction === 'rtl' ? <ArrowForwardIcon /> : <ArrowBackIcon />} - </IconButton> + <IconButton onClick={handleClose}> + <ArrowBackIcon /> + </IconButton> )} <TextField fullWidth @@ -150,9 +149,9 @@ const MainPage = () => { <AddIcon /> </IconButton> {!isTablet && ( - <IconButton onClick={handleClose}> - <CloseIcon /> - </IconButton> + <IconButton onClick={handleClose}> + <CloseIcon /> + </IconButton> )} </Toolbar> </Paper> |