Update 02-server-actions-and-mutations.mdx (#61756)

Hi, there.

I have fixed the missing leading slash in the anchor link in Route
Segment Config.

Thanks
This commit is contained in:
Gen Tamura 2024-02-07 19:36:46 +09:00 committed by GitHub
parent c70c08ff04
commit 72826823d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -120,7 +120,7 @@ export default function ClientComponent({ updateItem }) {
- The arguments and return value of Server Actions must be serializable by React. See the React docs for a list of [serializable arguments and values](https://react.dev/reference/react/use-server#serializable-parameters-and-return-values).
- Server Actions are functions. This means they can be reused anywhere in your application.
- Server Actions inherit the [runtime](/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes) from the page or layout they are used on.
- Server Actions inherit the [Route Segment Config](docs/app/api-reference/file-conventions/route-segment-config) from the page or layout they are used on, including fields like `maxDuration`.
- Server Actions inherit the [Route Segment Config](/docs/app/api-reference/file-conventions/route-segment-config) from the page or layout they are used on, including fields like `maxDuration`.
## Examples