aboutsummaryrefslogtreecommitdiff
path: root/modern/src/components
diff options
context:
space:
mode:
authorrahighi <rahighi>2021-08-28 11:33:19 +0430
committerrahighi <rahighi>2021-08-28 11:33:19 +0430
commit6587ea34698054175917aab54860bcac4bb38ff3 (patch)
tree5a789b3cc1c665712526ce80d0ff34e873c4aa22 /modern/src/components
parent2f486cb70ec99098458da5912a48893175102001 (diff)
downloadetbsa-traccar-web-6587ea34698054175917aab54860bcac4bb38ff3.tar.gz
etbsa-traccar-web-6587ea34698054175917aab54860bcac4bb38ff3.tar.bz2
etbsa-traccar-web-6587ea34698054175917aab54860bcac4bb38ff3.zip
Removed remaining RTL parts
Diffstat (limited to 'modern/src/components')
-rw-r--r--modern/src/components/registration/RegisterForm.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/modern/src/components/registration/RegisterForm.js b/modern/src/components/registration/RegisterForm.js
index 6260a0c..06f5355 100644
--- a/modern/src/components/registration/RegisterForm.js
+++ b/modern/src/components/registration/RegisterForm.js
@@ -1,10 +1,9 @@
import React, { useState } from 'react';
import {
- Grid, Button, TextField, Typography, Link, makeStyles, Snackbar, useTheme,
+ Grid, Button, TextField, Typography, Link, makeStyles, Snackbar,
} from '@material-ui/core';
import { useHistory } from 'react-router-dom';
import ArrowBackIcon from '@material-ui/icons/ArrowBack';
-import ArrowForwardIcon from '@material-ui/icons/ArrowForward';
import StartPage from '../../StartPage';
import t from '../../common/localization';
@@ -31,7 +30,6 @@ const RegisterForm = () => {
const [email, setEmail] = useState('');
const [password, setPassword] = useState('');
const [snackbarOpen, setSnackbarOpen] = useState(false);
- const theme = useTheme();
const submitDisabled = () => !name || !/(.+)@(.+)\.(.{2,})/.test(email) || !password;
@@ -61,7 +59,7 @@ const RegisterForm = () => {
<Grid item>
<Typography className={classes.link} color="primary">
<Link onClick={() => history.push('/login')}>
- {theme.direction === 'rtl' ? <ArrowForwardIcon /> : <ArrowBackIcon />}
+ <ArrowBackIcon />
</Link>
</Typography>
</Grid>