Skip to content

Commit 3405876

Browse files
authored
fix: add R3F type reference directly in NetworkGraph3D to resolve group JSX error
1 parent c49fa5c commit 3405876

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

frontend/components/NetworkGraph3D.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/// <reference types="@react-three/fiber" />
12
import React, { useRef, useMemo } from 'react';
23
import { Canvas, useFrame } from '@react-three/fiber';
34
import { OrbitControls, Line, Sphere, Text } from '@react-three/drei';

0 commit comments

Comments
 (0)