example of lazy (#25216)

This commit is contained in:
Asuka Minato 2025-09-05 18:35:50 +09:00 committed by GitHub
parent cd95237ae4
commit d03d3518d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {