Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example of Server Actions HoC #51299

Merged
merged 1 commit into from Jun 14, 2023
Merged

Update example of Server Actions HoC #51299

merged 1 commit into from Jun 14, 2023

Conversation

shuding
Copy link
Member

@shuding shuding commented Jun 14, 2023

Currently the Server Action function with "use server" must be an async function as it's required by the compiler, even if it returns a promise already.

@shuding shuding marked this pull request as ready for review June 14, 2023 15:37
@vercel-spaces vercel-spaces bot requested a review from molebox June 14, 2023 15:37
@ijjk ijjk merged commit 5e9b5e5 into canary Jun 14, 2023
31 checks passed
@ijjk ijjk deleted the shu/c7nc branch June 14, 2023 19:17
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants