From 735e7c6d0ac5a90762b46cf94d36334656bdc3f2 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 27 Nov 2021 13:51:23 -0600 Subject: stealthily remove some junk that shouldn't have been merged --- src/web/src/components/System/Options/Edit.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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 }) => {