import { useFrame } from '@react-three/fiber' import { useRef } from 'react' function SolarSystem() { const orbitRef = useRef() useFrame((_, delta) => { orbitRef.current.rotation.y += delta * 0.8 }) return ( <> ) } export default SolarSystem