diff --git a/src/app/components/Editor.tsx b/src/app/components/Editor.tsx index 03ff933..1aaa174 100644 --- a/src/app/components/Editor.tsx +++ b/src/app/components/Editor.tsx @@ -234,14 +234,14 @@ export default function Editor() { {languages.map((lang) => (
- {isDeprecatedFieldVisible((`description.${lang}.genericName` as never)) && - - - fieldName="genericName" - lang={lang} - deprecated - /> - + {isDeprecatedFieldVisible((`description.${lang}.genericName` as never)) && + + + fieldName="genericName" + lang={lang} + deprecated + /> + } @@ -293,20 +293,20 @@ export default function Editor() { required /> - {isDeprecatedFieldVisible('inputTypes') && + {isDeprecatedFieldVisible('inputTypes') && fieldName="inputTypes" data={Object.keys(mimeTypes).map(o => ({ text: o, value: o }))} /> } - {isDeprecatedFieldVisible('outputTypes') && + {isDeprecatedFieldVisible('outputTypes') && fieldName="outputTypes" data={Object.keys(mimeTypes).map(o => ({ text: o, value: o }))} /> } - {isDeprecatedFieldVisible('monochromeLogo') && - + {isDeprecatedFieldVisible('monochromeLogo') && + fieldName="monochromeLogo" deprecated /> } @@ -358,7 +358,7 @@ export default function Editor() { /> {isDeprecatedFieldVisible("legal.authorsFile") && - + fieldName="legal.authorsFile" deprecated /> }