aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-11-27 13:51:23 -0600
committerJP Dillingham <jpdillingham@gmail.com>2021-11-27 13:51:23 -0600
commit735e7c6d0ac5a90762b46cf94d36334656bdc3f2 (patch)
tree12089bfb4b1c26b641e872d79d6fdbc84320c5f6 /src/web
parent8d7375bc21e0012490d95f6e06b905fe2b0a4b74 (diff)
downloadslskd-735e7c6d0ac5a90762b46cf94d36334656bdc3f2.tar.gz
stealthily remove some junk that shouldn't have been merged
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/System/Options/Edit.js3
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}