diff --git a/src/components/ui/HalfGlobe.tsx b/src/components/ui/HalfGlobe.tsx index e4a40ee..0b6d669 100644 --- a/src/components/ui/HalfGlobe.tsx +++ b/src/components/ui/HalfGlobe.tsx @@ -3,13 +3,10 @@ import { Canvas, useFrame } from "@react-three/fiber"; import { Line, OrbitControls, useTexture } from "@react-three/drei"; import { useMemo, useRef } from "react"; - -type RotatableGroup = { - rotation: { y: number }; -}; +import type { Group } from "three"; function Globe() { - const groupRef = useRef(null); + const groupRef = useRef(null); const cloudTexture = useTexture("/images/cloud1.png"); // Rotate the globe slowly @@ -78,7 +75,7 @@ function Globe() { export function HalfGlobe() { return ( -
+