From 605cb78d471c2fb3893be9c3c60afdbece9c0a55 Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 23 Dec 2023 17:08:01 +0000 Subject: [PATCH] IPK-65 state type fix --- src/components/3d/Sphere.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/3d/Sphere.tsx b/src/components/3d/Sphere.tsx index 7323f40..63abc8c 100644 --- a/src/components/3d/Sphere.tsx +++ b/src/components/3d/Sphere.tsx @@ -8,7 +8,7 @@ import { vertexShader } from "./vertexShader"; import * as TWEEN from "@tweenjs/tween.js"; function Sphere() { - const meshRef = React.useRef(); + const meshRef = React.useRef(); const start = React.useRef(Date.now()); const uniforms = React.useRef( THREE.UniformsUtils.merge([THREE.UniformsLib["lights"], THREE.ShaderLib.phong.uniforms, { time: { value: 0 } }])