From a7010fd5974e2b841986da8caf6d4ad232081413 Mon Sep 17 00:00:00 2001 From: inseongso-29cm Date: Tue, 26 Mar 2024 15:56:50 +0900 Subject: [PATCH] chore: git workflow fix --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 285aa1e..9fa36b6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -4,7 +4,7 @@ const ImageRotator = () => { const [tiltAngle, setTiltAngle] = useState(0); useEffect(() => { - const handleTilt = (event) => { + const handleTilt = (event:any) => { const { beta, gamma } = event.accelerationIncludingGravity; const angle = Math.atan2(beta, gamma) * (180 / Math.PI); setTiltAngle(angle);