Skip to content

Commit 5cb364a

Browse files
committed
[Fix][Validation]
1 parent e091357 commit 5cb364a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/universe/NeuroJsonGraph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const NeuroJsonGraph: React.FC<{ registry: Database[] }> = ({ registry }) => {
5353
};
5454

5555
// Initialize 3D Force Graph
56-
const Graph = ForceGraph3D()(graphRef.current)
56+
const Graph = new ForceGraph3D(graphRef.current)
5757
.graphData(graphData)
5858
.nodeRelSize(2)
5959
.nodeColor((node) => (node as NodeObject).color || "rgba(255,255,255,1)") // White nodes

0 commit comments

Comments
 (0)