diff --git a/web/app/components/plugins/plugin-auth/authorize/oauth-client-settings.tsx b/web/app/components/plugins/plugin-auth/authorize/oauth-client-settings.tsx
index 14c7ed957f..c10b06166b 100644
--- a/web/app/components/plugins/plugin-auth/authorize/oauth-client-settings.tsx
+++ b/web/app/components/plugins/plugin-auth/authorize/oauth-client-settings.tsx
@@ -4,7 +4,6 @@ import {
useRef,
useState,
} from 'react'
-import { RiExternalLinkLine } from '@remixicon/react'
import {
useForm,
useStore,
@@ -24,7 +23,6 @@ import type {
} from '@/app/components/base/form/types'
import { useToastContext } from '@/app/components/base/toast'
import Button from '@/app/components/base/button'
-import { useRenderI18nObject } from '@/hooks/use-i18n'
type OAuthClientSettingsProps = {
pluginPayload: PluginPayload
@@ -129,8 +127,6 @@ const OAuthClientSettings = ({
defaultValues: editValues || defaultValues,
})
const __oauth_client__ = useStore(form.store, s => s.values.__oauth_client__)
- const helpField = schemas.find(schema => schema.url && schema.help)
- const renderI18nObject = useRenderI18nObject()
return (
- {
- helpField && __oauth_client__ === 'custom' && (
-
-
- {renderI18nObject(helpField?.help as any)}
-
-
-
- )}
>
)