Skip to content

Commit a327142

Browse files
authored
Update use-server.mdx remove "at least"
The use of "at least" in "Note: "use server" functions must be marked async or at least return a promise." implies to me that there are other options other than the function: 1. being marked async 2. returning a promise I'm not sure there are any. Either way, I don't see 'at least' adding any value to the note/sentence.
1 parent 6f46659 commit a327142

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes/solid-start/reference/server/use-server.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const logHello = async (message: string) => {
1111
};
1212
```
1313

14-
**Note:** `"use server"` functions must be marked async or at least return a promise.
14+
**Note:** `"use server"` functions must be marked async or return a promise.
1515

1616
## Basic usage
1717

0 commit comments

Comments
 (0)