Add interactive roadmap error handling and loading

pull/1657/head
Kamran Ahmed 3 years ago
parent 6d45dfb820
commit 2fb46a294a
  1. 2
      pages/[roadmap]/interactive.tsx

@ -24,7 +24,7 @@ function RoadmapRenderer(props: RoadmapProps) {
const roadmapRef = useRef(null); const roadmapRef = useRef(null);
const [isRendering, setIsRendering] = useState(false); const [isRendering, setIsRendering] = useState(true);
const [roadmapJson, setRoadmapJson] = useState(null); const [roadmapJson, setRoadmapJson] = useState(null);
const [groupId, setGroupId] = useState(''); const [groupId, setGroupId] = useState('');
const [hasErrorRendering, setHasErrorRendering] = useState(false); const [hasErrorRendering, setHasErrorRendering] = useState(false);

Loading…
Cancel
Save