| 65 | useEffect(() => { if (evidence) { evidenceRef.current?.scrollIntoView?.({ block: 'nearest' }); evidenceRef.current?.focus({ preventScroll: true }); } }, [evidence]); |
| 66 | const area = map?.areas.find(row => row.path === areaPath); |
| 67 | const openArea = (path?: string) => { setAreaPath(path); setFile(undefined); setEvidence(undefined); setShowAll(false); }; |
| 68 | const query = filter.trim().toLowerCase(); |
| 69 | const entries = useMemo(() => entryCandidates(graph?.nodes ?? []), [graph]); |
| 70 | const entry = entries.find(node => node.id === entryId) ?? entries[0]; |