diff --git a/web/src/components/Plugin/PluginDetail.tsx b/web/src/components/Plugin/PluginDetail.tsx index 72c474b5e4..983765ab56 100644 --- a/web/src/components/Plugin/PluginDetail.tsx +++ b/web/src/components/Plugin/PluginDetail.tsx @@ -41,6 +41,7 @@ import addFormats from 'ajv-formats'; import { fetchSchema } from './service'; import { json2yaml, yaml2json } from '../../helpers'; import { PluginForm, PLUGIN_UI_LIST } from './UI'; +import { PluginType } from './data'; type Props = { name: string; @@ -365,7 +366,7 @@ const PluginDetail: React.FC = ({ ) : null } @@ -402,7 +403,7 @@ const PluginDetail: React.FC = ({ ]} /> - {Boolean(codeMirrorMode === codeMirrorModeList.UIForm) && } + {Boolean(codeMirrorMode === codeMirrorModeList.UIForm) && }
{ ref.current = codemirror; diff --git a/web/src/components/Upstream/components/active-check/HttpsVerifyCertificate.tsx b/web/src/components/Upstream/components/active-check/HttpsVerifyCertificate.tsx index 901c5095da..0d33feff17 100644 --- a/web/src/components/Upstream/components/active-check/HttpsVerifyCertificate.tsx +++ b/web/src/components/Upstream/components/active-check/HttpsVerifyCertificate.tsx @@ -27,7 +27,7 @@ const HttpsVerifyCertificateComponent: React.FC = ({ readonly }) => { return (