Files
dify/web/app/components/workflow/candidate-node.tsx
2025-12-23 16:58:55 +08:00

21 lines
359 B
TypeScript

import {
memo,
} from 'react'
import CandidateNodeMain from './candidate-node-main'
import {
useStore,
} from './store'
const CandidateNode = () => {
const candidateNode = useStore(s => s.candidateNode)
if (!candidateNode)
return null
return (
<CandidateNodeMain candidateNode={candidateNode} />
)
}
export default memo(CandidateNode)