We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93ff7a7 commit 060cae6Copy full SHA for 060cae6
app/tools/paper-graph/page.tsx
@@ -24,7 +24,7 @@ type GraphData = {
24
25
let cachedAuthorNames: Record<string, string> = {};
26
27
-export default function ForceGraph({ dbName }: { dbName: string }) {
+export default function PaperGraph() {
28
const svgRef = useRef<SVGSVGElement | null>(null);
29
const [data, setData] = useState<GraphData | null>(null);
30
const [hoveredNodeId, setHoveredNodeId] = useState<string | null>(null);
@@ -89,7 +89,7 @@ export default function ForceGraph({ dbName }: { dbName: string }) {
89
}
90
91
fetchData();
92
- }, [dbName]);
+ }, []);
93
94
//Render
95
useEffect(() => {
0 commit comments