Skip to content

Commit 6c72cb9

Browse files
docs: typo infact fix (#2196)
1 parent 1e5aa83 commit 6c72cb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/app/routes/docs/concepts/controllers-and-springs.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ However, a `SpringRef` can manage multiple `Controller`s. For more information,
5656
5757
## Controller
5858
59-
So where does the `Controller` come into all this? Well, every "spring" is infact, a `Controller`. Therefore, when you use the
59+
So where does the `Controller` come into all this? Well, every "spring" is in fact, a `Controller`. Therefore, when you use the
6060
hook `useSpring` you initialise a new `Controller` class and when you pass the number X to the `useSprings` hook, you're creating
6161
X amount of `Controller`s.
6262
@@ -115,7 +115,7 @@ for your animation.
115115
In addition to controlling a "Fluid value" – a value that changes over time (see [Fluids](#fluids) for more information). `SpringValues`
116116
also apply their updates to the `animated node` they're passed to. You might recall if you had read the [animated elements](/docs/concepts/animated-elements)
117117
concept page that on creation of the `animated` component, we convert any `SpringValues` into `AnimatedValues` which seems like a one way direction,
118-
infact we attach this `AnimatedValue` to the original `SpringValue`, which allows the spring to update the animated node (e.g. `<animated.p>`.)
118+
in fact we attach this `AnimatedValue` to the original `SpringValue`, which allows the spring to update the animated node (e.g. `<animated.p>`.)
119119
via the animated value when the `advance` function is called on the `SpringValue` via our `rafz` package. `SpringValue` is able to do this
120120
because it extends the `FrameValue` which is a kind of `FluidValue`.
121121

docs/app/routes/docs/guides/testing.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ path/to/project/node_modules/@react-spring/web/react-spring-web.esm.js.js:1
203203
```
204204
205205
You may have come across this message when testing with `jest`. If you have, this is because jest
206-
is incorrectly resolving the correct file type for the library. It infact wants to be using the
206+
is incorrectly resolving the correct file type for the library. It in fact wants to be using the
207207
`cjs` file type. To fix this, you can add the following to your `jest.config.js` file:
208208
209209
```ts

0 commit comments

Comments
 (0)