Skip to content

Commit

Permalink
chore: git workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
inseongso-29cm committed Mar 26, 2024
1 parent 30994fc commit a7010fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a7010fd

Please sign in to comment.