diff --git a/app/sites/[id]/journeys/page.tsx b/app/sites/[id]/journeys/page.tsx index 67f5a41..ccf3ebc 100644 --- a/app/sites/[id]/journeys/page.tsx +++ b/app/sites/[id]/journeys/page.tsx @@ -190,7 +190,6 @@ export default function JourneysPage() { transitions={transitionsData?.transitions ?? []} totalSessions={totalSessions} depth={committedDepth} - onNodeClick={(path) => setEntryPath(path)} /> diff --git a/components/journeys/ColumnJourney.tsx b/components/journeys/ColumnJourney.tsx index 2fe1c84..bae0d9c 100644 --- a/components/journeys/ColumnJourney.tsx +++ b/components/journeys/ColumnJourney.tsx @@ -10,7 +10,6 @@ interface ColumnJourneyProps { transitions: PathTransition[] totalSessions: number depth: number - onNodeClick?: (path: string) => void } interface ColumnPage { @@ -431,7 +430,6 @@ export default function ColumnJourney({ transitions, totalSessions, depth, - onNodeClick, }: ColumnJourneyProps) { const [selections, setSelections] = useState>(new Map()) const containerRef = useRef(null) @@ -455,11 +453,6 @@ export default function ColumnJourney({ const handleSelect = useCallback( (colIndex: number, path: string) => { - if (colIndex === 0 && onNodeClick) { - onNodeClick(path) - return - } - setSelections((prev) => { const next = new Map(prev) if (next.get(colIndex) === path) { @@ -473,7 +466,7 @@ export default function ColumnJourney({ return next }) }, - [onNodeClick] + [] ) // ─── Empty state ────────────────────────────────────────────────