Skip to content

Commit 492e403

Browse files
authored
Fix code snippet highlights
Corrected the index of 'submitAction' in the code snippet.
1 parent 47539b0 commit 492e403

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export async function updateName(name) {
108108
}
109109
```
110110

111-
```js [[1, 4, "updateName"], [1, 14, "updateName"], [2, 12, "submitAction"], [2, 26, "submitAction"]]
111+
```js [[1, 4, "updateName"], [1, 14, "updateName"], [2, 12, "submitAction"], [2, 25, "submitAction"]]
112112
"use client";
113113

114114
import {useState, useTransition} from 'react';

0 commit comments

Comments
 (0)