From 40febcda8679424b2492de31a8a959ee6d486403 Mon Sep 17 00:00:00 2001 From: Gleb Myznikov <42252206+myznikovgleb@users.noreply.github.com> Date: Thu, 20 Jul 2023 21:53:47 +0300 Subject: [PATCH] docs: Fix typos (#2935) --- docs/advanced/scaling-performance.mdx | 2 +- docs/tutorials/v8-migration-guide.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/advanced/scaling-performance.mdx b/docs/advanced/scaling-performance.mdx index 181ddedcac..89360629f3 100644 --- a/docs/advanced/scaling-performance.mdx +++ b/docs/advanced/scaling-performance.mdx @@ -272,7 +272,7 @@ You can define defaults like so: ### This is how you can put the system into regression -The only thing you have to do is call `regress()`. When exactly you do that, that is up to you, but it could be when when the mouse moves, or the scene is moving, for instance when controls fire their change-event. +The only thing you have to do is call `regress()`. When exactly you do that, that is up to you, but it could be when the mouse moves, or the scene is moving, for instance when controls fire their change-event. Say you are using controls, then the following code puts the system in regress when they are active: diff --git a/docs/tutorials/v8-migration-guide.mdx b/docs/tutorials/v8-migration-guide.mdx index af43fa4a73..4af987767f 100644 --- a/docs/tutorials/v8-migration-guide.mdx +++ b/docs/tutorials/v8-migration-guide.mdx @@ -217,7 +217,7 @@ This is also supported by all cameras that you create, be it a THREE.Perspective ```jsx import { PerspectiveCamera } from '@react-three/drei' -; + ```