mirror of https://github.com/langgenius/dify.git
example of lazy (#25216)
This commit is contained in:
parent
cd95237ae4
commit
d03d3518d7
|
|
@ -33,7 +33,7 @@ const TracingPanel: FC<TracingPanelProps> = ({
|
|||
}) => {
|
||||
const { t } = useTranslation()
|
||||
const treeNodes = formatNodeList(list, t)
|
||||
const [collapsedNodes, setCollapsedNodes] = useState<Set<string>>(new Set())
|
||||
const [collapsedNodes, setCollapsedNodes] = useState<Set<string>>(() => new Set())
|
||||
const [hoveredParallel, setHoveredParallel] = useState<string | null>(null)
|
||||
|
||||
const toggleCollapse = (id: string) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue