Skip to content

Commit

Permalink
(fix): mismatch href bug (#7368)
Browse files Browse the repository at this point in the history
"use-server" docs Server Functions href fixed.
  • Loading branch information
ahm3tozenir authored Dec 16, 2024
1 parent 9fb491d commit 51864f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/rsc/use-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ titleForTitleTag: "'use server' directive"

### `'use server'` {/*use-server*/}

Add `'use server'` at the top of an async function body to mark the function as callable by the client. We call these functions [_Server Functions_]((/reference/rsc/server-functions)).
Add `'use server'` at the top of an async function body to mark the function as callable by the client. We call these functions [_Server Functions_](/reference/rsc/server-functions).

```js {2}
async function addToCart(data) {
Expand Down

0 comments on commit 51864f6

Please sign in to comment.