Skip to content

Commit 060cae6

Browse files
committed
paper graph
1 parent 93ff7a7 commit 060cae6

File tree

3 files changed

+4
-409
lines changed

3 files changed

+4
-409
lines changed

app/tools/paper-graph/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type GraphData = {
2424

2525
let cachedAuthorNames: Record<string, string> = {};
2626

27-
export default function ForceGraph({ dbName }: { dbName: string }) {
27+
export default function PaperGraph() {
2828
const svgRef = useRef<SVGSVGElement | null>(null);
2929
const [data, setData] = useState<GraphData | null>(null);
3030
const [hoveredNodeId, setHoveredNodeId] = useState<string | null>(null);
@@ -89,7 +89,7 @@ export default function ForceGraph({ dbName }: { dbName: string }) {
8989
}
9090

9191
fetchData();
92-
}, [dbName]);
92+
}, []);
9393

9494
//Render
9595
useEffect(() => {

0 commit comments

Comments
 (0)