Skip to content

Commit 1700f8d

Browse files
Capitalize "Actions" as a React concept in documentation
Addresses #6713 - capitalizes "actions" to "Actions" where it refers to the React Actions concept in hooks.md and server-functions.md.
1 parent 1207ee3 commit 1700f8d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/reference/react/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ These Hooks are mostly useful to library authors and aren't commonly used in the
116116
- [`useDebugValue`](/reference/react/useDebugValue) lets you customize the label React DevTools displays for your custom Hook.
117117
- [`useId`](/reference/react/useId) lets a component associate a unique ID with itself. Typically used with accessibility APIs.
118118
- [`useSyncExternalStore`](/reference/react/useSyncExternalStore) lets a component subscribe to an external store.
119-
* [`useActionState`](/reference/react/useActionState) allows you to manage state of actions.
119+
* [`useActionState`](/reference/react/useActionState) allows you to manage state of Actions.
120120
121121
---
122122

src/content/reference/rsc/server-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: Server Functions
66

77
Server Functions are for use in [React Server Components](/reference/rsc/server-components).
88

9-
**Note:** Until September 2024, we referred to all Server Functions as "Server Actions". If a Server Function is passed to an action prop or called from inside an action then it is a Server Action, but not all Server Functions are Server Actions. The naming in this documentation has been updated to reflect that Server Functions can be used for multiple purposes.
9+
**Note:** Until September 2024, we referred to all Server Functions as "Server Actions". If a Server Function is passed to an action prop or called from inside an Action then it is a Server Action, but not all Server Functions are Server Actions. The naming in this documentation has been updated to reflect that Server Functions can be used for multiple purposes.
1010

1111
</RSC>
1212

0 commit comments

Comments
 (0)