mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
1e759399d9
Fixes PACK-3246
10 lines
160 B
JavaScript
10 lines
160 B
JavaScript
'use client'
|
|
|
|
import { useState } from 'react'
|
|
|
|
let name = await Promise.resolve('async')
|
|
|
|
export default (props) => {
|
|
return `client ${useState(name)[0]}`
|
|
}
|