Skip to content

Commit 8e4b09e

Browse files
authored
minor docs improvements (#2279)
* format "The `to` prop" in async-animations.mdx * fix spelling of "targetting"/"targetted" in targets.mdx
1 parent 655bb4c commit 8e4b09e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/app/routes/docs.advanced.async-animations.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function MyComponent() {
5959
}
6060
```
6161

62-
## The to prop
62+
## The `to` prop
6363

6464
If you've read any of the `component` pages, you'll know we accept a `to` prop, it's typically used as an object,
6565
but alternatively, you can also use an array (chaining the animations) or a function (writing an animation script).

docs/app/routes/docs.concepts.targets.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const meta = formatFrontmatterToRemixMeta(frontmatter)
2020
## What is a target?
2121

2222
When a target is discussed it is sometimes in reference to the platform, e.g. you create a client side react application
23-
chances are it's targetted at the browser. However, if you write a server-side application then you're targetting node.
23+
chances are it's targeted at the browser. However, if you write a server-side application then you're targeting node.
2424
Whilst `react-spring` does support the targets `web` and `native` and _can_ be server-side rendered. This is not the type
2525
of target we're referring to.
2626

0 commit comments

Comments
 (0)