Преглед на файлове

fix: corrected useRenderLoop typo on docs

Alvaro преди 2 години
родител
ревизия
c7de7f406f
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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()