diff --git a/src/components/CustomRoadmap/CustomRoadmap.tsx b/src/components/CustomRoadmap/CustomRoadmap.tsx index 45a00ad50..6cd3ad7a1 100644 --- a/src/components/CustomRoadmap/CustomRoadmap.tsx +++ b/src/components/CustomRoadmap/CustomRoadmap.tsx @@ -7,7 +7,6 @@ import { httpPost, } from '../../lib/http'; import { RoadmapHeader } from './RoadmapHeader'; -import { RoadmapRenderer } from './RoadmapRenderer'; import { TopicDetail } from '../TopicDetail/TopicDetail'; import type { RoadmapDocument } from './CreateRoadmap/CreateRoadmapModal'; import { currentRoadmap } from '../../stores/roadmap'; diff --git a/src/components/CustomRoadmap/FlowRoadmapRenderer.tsx b/src/components/CustomRoadmap/FlowRoadmapRenderer.tsx index f2b1a045a..75cdcc5a3 100644 --- a/src/components/CustomRoadmap/FlowRoadmapRenderer.tsx +++ b/src/components/CustomRoadmap/FlowRoadmapRenderer.tsx @@ -61,9 +61,7 @@ export function FlowRoadmapRenderer(props: FlowRoadmapRendererProps) { return; } - console.log(target); const isCurrentStatusDone = target?.classList.contains('done'); - console.log(target?.classList, isCurrentStatusDone); updateTopicStatus(node.id, isCurrentStatusDone ? 'pending' : 'done'); }, []); @@ -127,6 +125,7 @@ export function FlowRoadmapRenderer(props: FlowRoadmapRendererProps) { style={{ height: measuredHeight, }} + className="min-h-screen" onRendered={(wrapperRef) => { renderResourceProgress('roadmap', roadmapId).then(() => {}); }}