diff options
Diffstat (limited to 'modern/src/common')
-rw-r--r-- | modern/src/common/components/LinkField.js | 3 | ||||
-rw-r--r-- | modern/src/common/components/SelectField.js | 3 |
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} |