Parcourir la source

fix: corrected useRenderLoop typo on docs

Alvaro il y a 2 ans
Parent
commit
c7de7f406f
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      docs/examples/basic-animations.md

+ 3 - 3
docs/examples/basic-animations.md

@@ -6,11 +6,11 @@ We will build a simple scene with a cube. We will then animate the cube to rotat
 
 <StackBlitzEmbed projectId="tresjs-basic-animations" />
 
-## useRendererLoop
+## useRenderLoop
 
-The `useRendererLoop` composable is the core of TresJS animations. It allows you to register a callback that will be called every time the renderer updates the scene with the browser's refresh rate.
+The `useRenderLoop` composable is the core of TresJS animations. It allows you to register a callback that will be called every time the renderer updates the scene with the browser's refresh rate.
 
-To see a detailed explanation of how it works, please refer to the [useRendererLoop](/composables/use-renderer-loop) documentation.
+To see a detailed explanation of how it works, please refer to the [useRenderLoop](/composables/use-render-loop) documentation.
 
 ```ts
 const { onLoop, resume } = useRenderLoop()