diff --git a/web/app/components/workflow/nodes/loop/components/condition-files-list-value.tsx b/web/app/components/workflow/nodes/loop/components/condition-files-list-value.tsx
index d4203d1bc2..1cf34e5aba 100644
--- a/web/app/components/workflow/nodes/loop/components/condition-files-list-value.tsx
+++ b/web/app/components/workflow/nodes/loop/components/condition-files-list-value.tsx
@@ -71,7 +71,7 @@ const ConditionValue = ({
: ''
}
return ''
- }, [])
+ }, [t])
return (
diff --git a/web/app/components/workflow/nodes/loop/panel.tsx b/web/app/components/workflow/nodes/loop/panel.tsx
index d535d41b66..911c774cc8 100644
--- a/web/app/components/workflow/nodes/loop/panel.tsx
+++ b/web/app/components/workflow/nodes/loop/panel.tsx
@@ -7,13 +7,12 @@ import ResultPanel from '../../run/result-panel'
import InputNumberWithSlider from '../_base/components/input-number-with-slider'
import type { LoopNodeType } from './types'
import useConfig from './use-config'
-import { ErrorHandleMode, type NodePanelProps } from '@/app/components/workflow/types'
+import type { NodePanelProps } from '@/app/components/workflow/types'
import ConditionWrap from './components/condition-wrap'
import type { NodePanelProps } from '@/app/components/workflow/types'
import BeforeRunForm from '@/app/components/workflow/nodes/_base/components/before-run-form'
import Field from '@/app/components/workflow/nodes/_base/components/field'
import BeforeRunForm from '@/app/components/workflow/nodes/_base/components/before-run-form'
-import Select from '@/app/components/base/select'
import formatTracing from '@/app/components/workflow/run/utils/format-log'
import { useLogs } from '@/app/components/workflow/run/hooks'
@@ -25,20 +24,6 @@ const Panel: FC> = ({
data,
}) => {
const { t } = useTranslation()
- const responseMethod = [
- {
- value: ErrorHandleMode.Terminated,
- name: t(`${i18nPrefix}.ErrorMethod.operationTerminated`),
- },
- {
- value: ErrorHandleMode.ContinueOnError,
- name: t(`${i18nPrefix}.ErrorMethod.continueOnError`),
- },
- {
- value: ErrorHandleMode.RemoveAbnormalOutput,
- name: t(`${i18nPrefix}.ErrorMethod.removeAbnormalOutput`),
- },
- ]
const {
readOnly,
@@ -64,7 +49,6 @@ const Panel: FC> = ({
handleUpdateSubVariableCondition,
handleToggleSubVariableConditionLogicalOperator,
handleUpdateLoopCount,
- changeErrorResponseMode,
} = useConfig(id, data)
const nodeInfo = formatTracing(loopRunResult, t)[0]