Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: remove redundant useEffect from TagSelector component (#23406)
lyzno1607dfc8be70d
diff --git a/web/app/components/base/tag-management/selector.tsx b/web/app/components/base/tag-management/selector.tsxindex cd03eb84bc1..026543cfa7b 100644--- a/web/app/components/base/tag-management/selector.tsx+++ b/web/app/components/base/tag-management/selector.tsx@@ -1,5 +1,5 @@import type { FC } from 'react'-import { useEffect, useMemo, useState } from 'react'+import { useMemo, useState } from 'react'import { useContext } from 'use-context-selector'import { useTranslation } from 'react-i18next'import { useUnmount } from 'ahooks'@@ -231,11 +231,6 @@ const TagSelector: FC<TagSelectorProps> = ({}}- useEffect(() => {- if (tagList.length === 0)- getTagList()- }, [type])-const triggerContent = useMemo(() => {if (selectedTags?.length)return selectedTags.filter(selectedTag => tagList.find(tag => tag.id === selectedTag.id)).map(tag => tag.name).join(', ')