aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-23 17:28:00 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-23 17:28:00 -0700
commitae22e17de1d9745b0f49c09ccc11ea92dd976907 (patch)
tree4f2df47079cd519aa55a35448c5635caa8ee24ba /modern/src/common
parent6007d38d572066d3aa6381964a863f2b291c8903 (diff)
downloadtrackermap-web-ae22e17de1d9745b0f49c09ccc11ea92dd976907.tar.gz
trackermap-web-ae22e17de1d9745b0f49c09ccc11ea92dd976907.tar.bz2
trackermap-web-ae22e17de1d9745b0f49c09ccc11ea92dd976907.zip
Fix forms
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/components/LinkField.js3
-rw-r--r--modern/src/common/components/SelectField.js3
2 files changed, 2 insertions, 4 deletions
diff --git a/modern/src/common/components/LinkField.js b/modern/src/common/components/LinkField.js
index f87a8963..3b38460d 100644
--- a/modern/src/common/components/LinkField.js
+++ b/modern/src/common/components/LinkField.js
@@ -5,7 +5,6 @@ import React, { useState } from 'react';
import { useEffectAsync } from '../../reactHelper';
const LinkField = ({
- margin,
label,
endpointAll,
endpointLinked,
@@ -68,7 +67,7 @@ const LinkField = ({
if (items && linked) {
return (
- <FormControl margin={margin} fullWidth>
+ <FormControl>
<InputLabel>{label}</InputLabel>
<Select
label={label}
diff --git a/modern/src/common/components/SelectField.js b/modern/src/common/components/SelectField.js
index d3de5c46..bbc661c2 100644
--- a/modern/src/common/components/SelectField.js
+++ b/modern/src/common/components/SelectField.js
@@ -5,7 +5,6 @@ import React, { useState } from 'react';
import { useEffectAsync } from '../../reactHelper';
const SelectField = ({
- margin,
label,
multiple,
value,
@@ -32,7 +31,7 @@ const SelectField = ({
if (items) {
return (
- <FormControl margin={margin} fullWidth>
+ <FormControl>
<InputLabel>{label}</InputLabel>
<Select
label={label}