aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-06 15:07:38 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-06 15:07:38 -0700
commit48c039d4e9dc1ed037cde499f06e7c4d7e44b08e (patch)
tree3ef8e3cb88ca53a5b5c30a15650113af09743861 /modern/src
parentfa1bec3ba4eea6654273e6ad920ef5d6a4c5dda4 (diff)
downloadtrackermap-web-48c039d4e9dc1ed037cde499f06e7c4d7e44b08e.tar.gz
trackermap-web-48c039d4e9dc1ed037cde499f06e7c4d7e44b08e.tar.bz2
trackermap-web-48c039d4e9dc1ed037cde499f06e7c4d7e44b08e.zip
Small warning fixes
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/attributes/EditAttributesView.js2
-rw-r--r--modern/src/components/registration/LoginForm.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/attributes/EditAttributesView.js b/modern/src/attributes/EditAttributesView.js
index 61d7ad3c..9ca42d2f 100644
--- a/modern/src/attributes/EditAttributesView.js
+++ b/modern/src/attributes/EditAttributesView.js
@@ -147,7 +147,7 @@ const EditAttributesView = ({ attributes, setAttributes, definitions }) => {
}) => {
if (type === 'boolean') {
return (
- <Grid container direction="row" justify="space-between" key={key}>
+ <Grid container direction="row" justifyContent="space-between" key={key}>
<FormControlLabel
control={(
<Checkbox
diff --git a/modern/src/components/registration/LoginForm.js b/modern/src/components/registration/LoginForm.js
index 0c28e00b..39a0d4c7 100644
--- a/modern/src/components/registration/LoginForm.js
+++ b/modern/src/components/registration/LoginForm.js
@@ -135,7 +135,7 @@ const LoginForm = () => {
</Grid>
</Grid>
{emailEnabled && (
- <Grid item container justify="flex-end">
+ <Grid item container justifyContent="flex-end">
<Grid item>
<Link onClick={() => history.push('/reset-password')} className={classes.resetPassword} underline="none">{t('loginReset')}</Link>
</Grid>