diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/System/Options/Edit.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/web/src/components/System/Options/Edit.js b/src/web/src/components/System/Options/Edit.js index 67739c98..9cb7f930 100644 --- a/src/web/src/components/System/Options/Edit.js +++ b/src/web/src/components/System/Options/Edit.js @@ -6,7 +6,7 @@ import CodeEditor from '../../Shared/CodeEditor'; import { getYamlLocation, getYaml, validateYaml, updateYaml } from '../../../lib/options'; import PlaceholderSegment from '../../Shared/PlaceholderSegment'; -const Edit = ({ filename, cancelAction }) => { +const Edit = ({ cancelAction }) => { const [{ loading, error }, setLoading] = useState({ loading: true, error: false }); const [{ location, yaml, isDirty }, setYaml] = useState({ location: undefined, yaml: undefined, isDirty: false }); const [yamlError, setYamlError] = useState(); @@ -62,7 +62,6 @@ const Edit = ({ filename, cancelAction }) => { </Message> <div {...{ className: yamlError ? 'edit-code-container-error' : 'edit-code-container' }} - //style={{height: yamlError ? 'calc(100vh - 316px)' : undefined}} > <CodeEditor value={yaml} |
