Unverified Commit 47380b10 authored by KaygNas's avatar KaygNas Committed by GitHub

Add missing `await` keyword in code block. (#62919)

### Improving Documentation

Add missing `await` keyword in code block.
Co-authored-by: 's avatarSam Ko <sam@vercel.com>
parent 83172a90
...@@ -390,7 +390,7 @@ export async function Page() { ...@@ -390,7 +390,7 @@ export async function Page() {
import { getUserData } from './data' import { getUserData } from './data'
export async function Page() { export async function Page() {
const userData = getUserData() const userData = await getUserData()
return ( return (
<ClientComponent <ClientComponent
user={userData} // this will cause an error because of taintObjectReference user={userData} // this will cause an error because of taintObjectReference
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment