演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
340 B
TypeScript
13 lines
340 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)
|