Skip to content

Commit

Permalink
lint-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed May 10, 2021
1 parent 841d464 commit 52fbcde
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/with-three-js/components/Bird.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ export default function Bird({ speed, factor, url, ...props }) {
const { nodes, animations } = useGLTF(url)
const { ref, mixer } = useAnimations(animations)

useEffect(() => void mixer.clipAction(animations[0], ref.current).play(), [mixer, animations, ref])
useEffect(() => void mixer.clipAction(animations[0], ref.current).play(), [
mixer,
animations,
ref,
])

useFrame((state, delta) => {
ref.current.rotation.y +=
Expand Down

0 comments on commit 52fbcde

Please sign in to comment.