소스 검색

fix expand not working

AykutSarac 2 년 전
부모
커밋
31a57d4f4f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/Graph/index.tsx

+ 1 - 1
src/components/Graph/index.tsx

@@ -136,7 +136,7 @@ export const Graph = ({ isWidget = false }: { isWidget?: boolean }) => {
     const nodeList = collapsedNodes.map((id) => `[id*="node-${id}"]`);
     const edgeList = collapsedEdges.map((id) => `[class*="edge-${id}"]`);
 
-    const hiddenItems = document.querySelectorAll("hide");
+    const hiddenItems = document.querySelectorAll(".hide");
     hiddenItems.forEach((item) => item.classList.remove("hide"));
 
     if (nodeList.length) {