Skip to content

Commit 83b58b1

Browse files
authored
docs: Update targets.mdx fixed a single typo (Middeleware to middleware) (#2047)
1 parent 3ca50be commit 83b58b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The `createAnimatedStyle` key of the config object by default takes wraps the `s
8282
generic rules on applying keys. In the case of `@react-spring/web`, we pass a custom function which is how we support shorthands for
8383
transformation styles.
8484

85-
The getComponentProps is a middeleware function that allows you to intercept props before they're passed to the animated component, therefore
85+
The getComponentProps is a middleware function that allows you to intercept props before they're passed to the animated component, therefore
8686
you could omit props e.g. `scrollTop` for the web because `@react-spring/web` expects this to be in the `style` object.
8787

8888
For more information on `animated` elements, see [here](/docs/concepts/animated-elements).

0 commit comments

Comments
 (0)